Skip to main content

SceneLoadingProgress

A class in Root.Township, the global namespace.

Fires a float event every frame with the current scene loading progress from AltaSceneManager.LoadProgress. Used to drive loading bars.

Constructors​

MemberWhat it is
SceneLoadingProgress()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Fields​

1 private and internal field
MemberWhat it is
private FloatUnityEvent onProgressChangedEvent that receives the load progress each frame.

Methods​

1 private and internal method
MemberWhat it is
private void Update()Invokes onProgressChanged with the current load progress.