SplitScript reference / UnityContext / scenes
UnityContext.scenes
field
UnityContext.scenes: UnityScenes
Accesses native Unity scene snapshots and hierarchy roots.
Discovery is performed once per process attachment and only when the unity context is referenced by the script.
Examples
Read every loaded scene
state Unity ["game.exe"] {
scenes = unity.scenes.loaded();
}