Class WalkthroughTrigger
Base class for all triggers used by walkthrough steps.
Inherited Members
Namespace: Unity.MARS.Templates
Syntax
public abstract class WalkthroughTrigger : MonoBehaviour
Methods
Check()
Checks if this trigger's pass/fail condition is active
Declaration
public abstract bool Check()
Returns
Type | Description |
---|---|
Boolean | True if this trigger is no longer blocking the current walkthrough step |
ResetTrigger()
Attempts to return a trigger to a state where it can be activated again
Declaration
public abstract bool ResetTrigger()
Returns
Type | Description |
---|---|
Boolean | False if this trigger cannot be reset or would automatically fire |