Testing Story
There are 2 ways to test your story in the Interactive Story App:
- From
InitScene.scene - From
PlayScene.scene
Init Scene
Playing from InitScene.scene will start the story from the beginning, regardless of where you last left off. This is useful when you want to test the game from the start.
Steps to play from InitScene.scene:
- Navigate to
InitScene.scenescene inAssets/_Main/Scenesand double-click to open it. - You should see a window similar to this:

- Click the
Play Buttonat the top of the Unity Editor.

- The game will start in the
Gamewindow.
Play Scene
Playing from PlayScene.scene will start the story you have chosen inside the Debug folder directly without playing from the beginning. This is useful when you want to test a specific part of your story.
Steps to play from PlayScene.scene:
- Navigate to
PlayScene.scenescene inAssets/_Main/Scenesand double-click to open it. - You should see a window similar to this:

- Navigate to
Assets/_Main/Debugfolder in theProjectpanel. - You should find a scriptable object named
Debug Play Data. Click it to view its properties in theInspectorpanel.

- In the
Inspectorpanel, you can select the story you want to test from theStorydropdown.

- You can also select the chapter you want to start from the
Chapter.
Eg:- If you want to start from the beginning of the story, Update the
Chapterfield to1, this will play the story ofchapter_1. - If you want to start from the 2nd chapter of the story, Update the
Chapterfield to2, this will play the story ofchapter_2. - If you want to start from the 10th chapter of the story, Update the
Chapterfield to10, this will play the story ofchapter_30.
dangerYou must ensure that the chapter you selected exists in the story you have chosen. If not, this will cause Errors in Unity Editor
- If you want to start from the beginning of the story, Update the
- After you have modified the
Debug Play Data, you could test your story by clicking thePlay Buttonat the top of the Unity Editor.

- The game will start in the
Gamewindow.