Helper Scripts Collection 1.3.1
API documentation for the helper scripts compatible with Unity3D
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Events | List of all members
NikosAssets.Helpers.SceneLoaderAsyncMono Class Reference

A helper class to load Scenes async and emit events as well More...

Public Member Functions

virtual IEnumerator LoadScenesAsync ()
 Loads the scenesToLoadAdditive Scenes and emits the SceneLoadedUnityEvent, SceneLoadedAdditiveSuccess and SceneLoadedGlobalAdditiveSuccess events More...
 

Public Attributes

SceneLoadedUnityEvent SceneLoadedUnityEvent = default
 

Protected Member Functions

virtual void Start ()
 

Protected Attributes

int[] scenesToLoadAdditive = default
 The Scenes to load additive
 
bool loadScenesAtStart = true
 Should we load the Scenes at Start?
 

Events

static Action< Scene > SceneLoadedGlobalAdditiveSuccess
 
Action< Scene > SceneLoadedAdditiveSuccess
 

Detailed Description

A helper class to load Scenes async and emit events as well

Member Function Documentation

◆ LoadScenesAsync()

virtual IEnumerator NikosAssets.Helpers.SceneLoaderAsyncMono.LoadScenesAsync ( )
virtual

Loads the scenesToLoadAdditive Scenes and emits the SceneLoadedUnityEvent, SceneLoadedAdditiveSuccess and SceneLoadedGlobalAdditiveSuccess events

Returns