SceneLoadBehavior
class in Doozy.Engine.SceneManagement
Description
Properties
-
public bool HasAnimatorEvents – Returns TRUE if either OnLoadScene UIAction or OnSceneLoaded UIAction have at least one AnimatorEvent in their AnimatorEvents list
-
public bool HasUnityEvents – Returns TRUE if either OnLoadScene UIAction Event (UnityEvent) or OnSceneLoaded UIAction Event (~UnityEvent`) have at least one registered persistent listener
Public Variables
-
public UIAction OnLoadScene – Actions performed when a scene started loading
-
public UIAction OnSceneLoaded – Actions performed when the scene has been loaded (the progress is at 0.9 (90%)) and has not been activated yet (the reset 0.1 (10%)). When loading a scene, Unity first loads the scene (load progress from 0% to 90%) and then activates it (load progress from 90% to 100%). It’s a two state process. This action is triggered after the scene has been loaded and before its activation (at 90% load progress)
Constructors
-
public SceneLoadBehavior() – Initializes a new instance of the class
Public Methods
-
public void Reset() – Resets this instance to the default values