tutorialmanager - eisclimber/ExPresS-XR GitHub Wiki

TutorialManager

Class in ExPresSXR.Tutorial

Inherits from UnityEngine.MonoBehaviour

Summary

Manages the process of a tutorial handling the individual.

public class TutorialManager : MonoBehaviour

Fields

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.

Methods

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.

Properties

Name Description
CurrentStep Readonly field of the current step in the tutorial.
NumSteps Number of steps in the tutorial.
⚠️ **GitHub.com Fallback** ⚠️