SplitScript reference / Language / image
image
declaration
image "Assembly-CSharp" { class Name { ... } }
Declares the managed types exposed by one runtime image.
An image schema names the managed assembly image that owns its classes. The Unity state provider resolves the reachable image and class metadata once per attachment before state polling begins. Unused schema declarations do not retain generated binding or reading code. Schema declarations describe metadata; they do not read live game memory until a static or instance field path is evaluated. Runtime image traversal is a private implementation detail of the provider rather than an alternative public workflow.
Examples
Describe a managed assembly image
image "Assembly-CSharp" {
class Player {
u32 score;
}
class GameManager from ["Manager", "GameManager"] {
static GameManager instance;
Player player;
if layout.edition == Edition.BaseGame {
u32 level;
} else {
u32 scene;
}
}
}