tutorialmanager - eisclimber/ExPresS-XR GitHub Wiki
Class in ExPresSXR.Tutorial
Inherits from UnityEngine.MonoBehaviour
Manages the process of a tutorial handling the individual.
public class TutorialManager : MonoBehaviour| Name | Description |
|---|---|
| OnTutorialCompleted | Emitted when the tutorial ended. |
| OnTutorialStarted | Emitted when the tutorial is started. |
| OnTutorialStepCompleted | Completion event invoked when a tutorial step is completed. |
| OnTutorialStepStarted | Completion event invoked with the index of the started tutorial step. |
| Name | Description |
|---|---|
| CompleteTutorial() | (Force) completes the tutorial. |
| IncreaseStep() | Increases the current tutorial step. |
| IncreaseStepFrom(int) | Increases the current tutorial step if the current step is equal to the provided idx. |
| StartTutorial() | Starts the tutorial. |
| Name | Description |
|---|---|
| CurrentStep | Readonly field of the current step in the tutorial. |
| NumSteps | Number of steps in the tutorial. |