Open the MindMapTree component on the inspector by selecting the Player/HudCanvas/MindMapTree gameobject on the hierarchy.
Set the inspector mode to debug in order to see the detail of all variables inside the component.
Play the scene and press P to open the mind map menu
On the top left corner, there is chapter navigation HUD. Press green box to go to previous chapter and press blue box to go to next chapter. Make sure the changes in the inspector syncs with the played scene.
Also test for the core and clue navigation (see the HUD footer)
When the testing is done, you may change the SO value in the Mind Map Tree Data field inside the MindMapTree component and play the scene again to see whether the changes are applied.
Mind Map Builder
Open the MindMap_Builder scene
Look at the MindMapBuilder component on the inspector. These are the new buttons.
Try to add nodes, save the SO and load that SO to the builder.
Main changes
MindMapPooler
class to pool mind map nodes and its modelChapterNavigation
class to handle chapter changing inputs from HUDMindMapTree
class to utilizeMindMapPooler
and preventMindMapBuilder
to use theMindMapPooler
(will instantiate nodes directly)ObjectPooler
andMindMapManager
.MindMapInspector
to separate the creation of each type of mind map nodesModified scenes:
MindMapTest.unity
MindMap_Builder.unity
Note: any changes that are not mentioned, are the effects of upgrading the unity version
Tasks List
Attachments
https://user-images.githubusercontent.com/51603162/227763415-26406f9a-fa8e-4245-9646-58731c6d7bb1.mp4
New Packages
Steps to test
There are two things to test here:
Mind Map Chapter Transition
MindMapTestScene
scene.MindMapTree
component on the inspector by selecting thePlayer/HudCanvas/MindMapTree
gameobject on the hierarchy.Mind Map Tree Data
field inside theMindMapTree
component and play the scene again to see whether the changes are applied.Mind Map Builder
Open the
MindMap_Builder
sceneLook at the
MindMapBuilder
component on the inspector. These are the new buttons.Try to add nodes, save the SO and load that SO to the builder.