SplitScript reference / UnityScene / path
UnityScene.path
field
UnityScene.path: String
Full asset path captured from Unity.
A typical value resembles Assets/Scenes/Forest.unity. Use name when only the final scene identifier is needed.
Examples
Detect a scene stored under the menu directory
split {
return current.scene.path.startsWith("Assets/Scenes/Menu/")
}