Quickstart
This page explains how you can get started using the cutscene system and create a simple cutscene.
Last updated
This page explains how you can get started using the cutscene system and create a simple cutscene.
Last updated
From Assets ► Non-Linear Dialogue & Cutscene System ► Prefab ► Manager drag and drop the Cutscene Manager and Cutscene Graph Editor to the scene.
Open Editor Window - Tools ► Cutscene System ► Cutscene Editor
Create a Cutscene graph
Right-click on the editor window and select create graph option to create a cutscene graph
Add Nodes to the Cutscene Graph
Once the cutscene graph is created, you can right-click on it and add different nodes to it as shown below.
We have added a character model to the scene to play animations and make the cutscene look good. But you can skip that and try simpler cutscene actions.
Create an empty gameobject and add the CutsceneTrigger script to it.
You can find the CutsceneTrigger script from Assets ► Non-Linear Dialogue & Cutscene System ► Prefab ► Trigger
In the CutsceneTrigger script, select On Start in the Choose Trigger field and drag the Cutscene created in the previous step to the Cutscene field. This will trigger the Cutscene when you start the game.
Run the game and test the cutscene you created.
We have only tried a few cutscene nodes in this quickstart tutorial, but you can try out the other nodes and see their result. The list of all the available nodes can be found here.
You can try triggering the cutscene using other methods. For example, you might want to trigger a cutscene when the player takes with the NPC, in that case, you can use the On Trigger or On Trigger With KeyDown options. Check out this page to learn more.
A great way to learn about the functionalities of this system is to check out the demo scenes that come with the asset and see how the demo cutscenes are created.