Table of Contents

Enum LunySceneEvent

Namespace
Luny.Engine.Bridge
Assembly
Luny.dll

LunyObject lifecycle events.

public enum LunySceneEvent

Fields

OnSceneLoaded = 1

Runs immediately after object was instantiated. Unity: Awake | Godot: _init

OnSceneUnloaded = 0

Runs at the end of the frame in which object was requested to be destroyed. Object is disabled and hidden between request to destroy and actual destruction. Unity: OnDestroy | Godot: N/A