Events
Last updated
Last updated
Corresponding events are executed respectively when Stage Objects/Tutorial Objects change their playing states.
In version 1.2, the event system are redesigned to encapsulate more events into Stage and Tutorial Objects. Users could enable individual events by clicking on different buttons in the Inspector.
OnStart: Event would be invoked when Stage/Tutorial starts.
OnUpdate: Event would be invoked every frame when Stage/Tutorial are in 'Start' or 'Executing' state.
OnExecuting: (Stage version)Event would be invoked when Stage completes starting Tutorial and adding trigger configuration. (Tutorial Object Version)Event would be invoked when all of Tutorial Object's modules are done showing.
OnEnding: Event would be invoked when StopStage/StopTutorial are called.
OnComplete: Event would be invoked when Stage/Tutorial Objects are completed.
public event HSVGlobalStageEvent OnStageStart;
public event HSVGlobalStageEvent OnStageUpdate;
public event HSVGlobalStageEvent OnStageExecuting;
public event HSVGlobalStageEvent OnStageEnding;
public event HSVGlobalStageEvent OnStageComplete;
public event HSVGlobalTutorialEvent OnTObjStart;
public event HSVGlobalTutorialEvent OnTObjUpdate;
public event HSVGlobalTutorialEvent OnTObjExecuting;
public event HSVGlobalTutorialEvent OnTObjEnding;
public event HSVGlobalTutorialEvent OnTObjComplete;
public event HSVUIMaskEvent OnDisplayTextChange;