Skip to content

LoadingManager

Graydon edited this page Mar 21, 2017 · 7 revisions

public class LoadingManager

Base Class: Singleton<LoadingManager>

Fields

public bool m_currentlyLoading
public bool m_renderDataReady
public bool m_metaDataLoaded
public bool m_simulationDataLoaded
public bool m_loadingComplete
public bool m_essentialScenesLoaded
public bool m_applicationQuitting
public string m_loadedEnvironment
public LoadingProfiler m_loadingProfilerMain
public LoadingProfiler m_loadingProfilerSimulation
public LoadingProfiler m_loadingProfilerScenes
public string m_brokenAssets
public bool m_unlockDlcAssets
public bool m_ignoreDlcAssets
private object m_loadingLock
private bool m_terminated
private bool m_hasQueuedActions
private float m_sceneProgress
private float m_simulationProgress
private Queue<IEnumerator> m_mainThreadQueue
private Stopwatch m_stopWatch
private LoadingAnimation m_loadingAnimation
public LoadingProfilerUI m_loadingProfilerUI
public LoadingWrapper m_LoadingWrapper
private IntroLoadedHandler m_introLoaded
private LevelLoadedHandler m_levelLoaded
private LevelUnloadedHandler m_levelUnloaded
private LevelPreLoadedHandler m_levelPreLoaded
private LevelPreUnloadedHandler m_levelPreUnloaded

Properties

public LoadingAnimation LoadingAnimationComponent { get; }

Methods

private void Awake()
private void OnDestroy()
private void CreateRelay()
private void ReleaseRelay()
private void OnApplicationQuit()
private void Update()
public void SetSceneProgress(float progress)
public Coroutine LoadIntro()
public Coroutine LoadLevel(Asset asset, string playerScene, string uiScene)
public Coroutine LoadLevel(string filename, string playerScene, string uiScene)
public Coroutine LoadLevel(string filename, string playerScene, string uiScene, SimulationMetaData ngs)
public Coroutine LoadLevel(Asset asset, string playerScene, string uiScene, SimulationMetaData ngs)
public Coroutine SaveLevel(string filename)
public Coroutine UnloadLevel()
public Coroutine QuitApplication()
private IEnumerator LoadIntroCoroutine()
private IEnumerator LoadLevelCoroutine(Asset asset, string playerScene, string uiScene, SimulationMetaData ngs)
private bool DLC(uint id)
private IEnumerator SaveLevelCoroutine(string filename)
private IEnumerator UnloadLevelCoroutine()
private void DestroyAllPrefabs()
private IEnumerator QuitApplicationCoroutine()
private IEnumerator LoadCustomContent()
private IEnumerator EssentialScenesLoaded()
private IEnumerator RenderDataReady()
private IEnumerator LoadIntroComplete()
private void PreLoadLevel()
private void PreUnloadLevel()
private IEnumerator LoadLevelComplete(UpdateMode mode)
private IEnumerator UnloadLevelComplete()
private IEnumerator LoadSimulationData(Asset asset, SimulationMetaData ngs)
private IEnumerator SaveSimulationData(string filename)
private IEnumerator UnloadSimulationData()
public void WaitUntilEssentialScenesLoaded()
public void WaitUntilRenderDataReady()
public void SetSimulationProgress(float progress)
public void QueueLoadingAction(IEnumerator action)

Clone this wiki locally