Cutscene Trigger
This section explains how to trigger a cutscene. Now there are 7 cutscene triggers available in our system and you can also create custom triggers if required.
Last updated
This section explains how to trigger a cutscene. Now there are 7 cutscene triggers available in our system and you can also create custom triggers if required.
Last updated
OnStart
To start the cutscene from Start function
OnEnable
To start the cutscene from OnEnable function
OnDestroy
To start the cutscene when the trigger object is destroyed
OnTrigger
To start the cutscene when the player or a specified 3D object enters the trigger
OnTrigger2D
To start the cutscene when the player or a specified 2D object enters the trigger
OnTriggerWithKeyDown
OnTrigger2DWithKeyDown
Also, you can use CutsceneManager.PlayCutscene() to run a cutscene
To start the cutscene when the player or a specified 3D object enters the trigger and presses the key
To start the cutscene when the player or a specified 2D object enters the trigger and presses the key