gamium
gamium copied to clipboard
Feature: Adding Scene and Object to the Gamium Path
Problem
- Scene, DonDestroyOnLoad and New UI System corresponding to Scene cannot be inquired in the form of Gamium Path.
- In xpath, if you don't have the same type of sibling, you don't have to approach index. Even if you don't have a sibling with the same name in GamiumPath, you should approach index.
Solution brainstorm
hierarchy
MyScene
MyGameObject
MyGameObject
MyOtherObject
DontDestroyOnLoad
VisualElement
MyVisualElement
In the case of the above structure, I think you should be able to search with the GamiumPath below.
/MyScene/MyGameObject[1]
/MyScene/MyGameObject[2]
/MyScene/MyOtherObject
/VisualElement/MyVisualElement