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.

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
To start the cutscene when the player or a specified 3D object enters the trigger and presses the interact key
OnTrigger2DWithKeyDown
To start the cutscene when the player or a specified 2D object enters the trigger and presses the interact key
Also, you can use CutsceneManager.PlayCutscene() to run a cutscene

Last updated