Chapter 7 Part 2 | Configure Unity State Graph
Users will edit the Unity state graph to ensure it is configured to build the app (covered in Chapter 8 of this tutorial).
Last updated
Users will edit the Unity state graph to ensure it is configured to build the app (covered in Chapter 8 of this tutorial).
Last updated
7.1 An overview of accessing the state graph, navigating the UI, and the purpose of using state graphs.
7.2 The 3 states(enter, exit, and transition state) for the modules are explained.
7.3 Open the AlienInvasion scene and create the required scene variables.
Hierarchy window - displays every GameObject in a Scene, such as models, cameras, or prefabs.
GameObject - every object in your game is a GameObject, from characters and collectible items to lights, cameras and special effects.
7.4 Save the Unity project periodically throughout the process (CTRL + S).
7.5 The first connection will initiate the progress tracking for the student, unlocking the ability to progress on all the child modules.
7.6 Add the variables for the login and document to display for the user.
Canvas - the area that all UI elements should be inside.
Enter fullscreen in the State Graph window by double-clicking in the window or clicking the fullscreen button in the top right corner of the window.
If variables are not showing up in the graph then users should verify they are in the AlienInvasion scene.
7.7 Modify the states in the modules within the event sets to properly track the progress.
7.8 Add scene variables to display the UI to investigate the UFO and to trigger the event set.
7.9 Add scene variables to display the UI to place the power cells and trigger the event set.
7.10 Add the subgraph and canvas scene variables to play through the assessment.
7.11 Adjust the connection for the last module to guarantee the end of the app will run.
7.12 Verify the application variables for course name and class name match the names created on MOTAR in an earlier chapter.
7.13 Review how the state graph connects the app's progress to the MOTAR course.