SplitScript reference / UnityScene / name

UnityScene.name

field

UnityScene.name: String

Final filename component without the .unity extension.

This is derived from path when the snapshot is read, matching the common scene-name representation used by Unity autosplitters.

Examples

Split when the credits scene becomes active

split {
    return old.scene.name != "Credits" && current.scene.name == "Credits"
}