Enum LunyEngineLifecycleEvents
- Namespace
- Luny
- Assembly
- Luny.dll
LunyScript lifecycle events.
[Flags]
public enum LunyEngineLifecycleEvents
Fields
OnEngineHeartbeat = 16Runs in sync with engine's "fixed update" or "physics processing" event.
OnEngineLateUpdate = 64Runs in sync with engine's "late update" event. Where unsupported (Godot) the native engine adapter calls this at the end of the engine's update event.
OnEnginePostUpdate = 8Runs at the end of a frame, after late update.
OnEnginePreUpdate = 4Runs at the beginning of a frame, before update and fixed step.
OnEngineSceneLoaded = 512OnEngineSceneUnloaded = 256OnEngineShutdown = 2Runs once when application (runtime player) exits.
OnEngineStartup = 1Runs once when application (runtime player) launches. Does not re-run when loading scenes.
OnEngineUpdate = 32Runs in sync with engine's "update/process" event.
OnObjectCreated = 1024OnObjectDestroyed = 2048