Files
simian/scripts/scene_example.as
T
nick 756b818f46
Sync Docs to Gitea Wiki / Sync docs to Gitea wiki (push) Successful in 26s
CI / build-and-test (push) Failing after 2m36s
feat: asset management, editor camera
2026-03-09 21:31:51 +13:00

21 lines
429 B
ActionScript 3

// Example scene script using a class instance.
class SceneScript {
float time = 0.0f;
void Init() {
Log(LOG_INFO, "SceneScript.Init (example)");
}
void Update(float dt) {
time += dt;
if (time > 1.0f) {
time = 0.0f;
Log(LOG_DEBUG, "SceneScript.Update tick");
}
}
void Shutdown() {
Log(LOG_INFO, "SceneScript.Shutdown (example)");
}
}