Skip to main content

IPhase

An interface in Root.Township, the global namespace.

One phase of a trial, run in order by TrialLogic.

Properties​

MemberWhat it is
bool IsMarkedComplete { get; }True once the phase has been marked done.

Events​

MemberWhat it is
event UnityAction MarkedCompletedRaised when the phase is marked done, which moves the trial on.

Methods​

MemberWhat it is
void Begin()Starts the phase.
void Complete()Finishes the phase.
void ResetState()Puts the phase back to its start state.