⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Class NeoSceneManager

    Inheritance
    Object
    NeoFpsManagerBase
    NeoFpsManager<NeoSceneManager>
    NeoSceneManager
    Inherited Members
    NeoFpsManager<NeoSceneManager>.instance
    NeoFpsManager<NeoSceneManager>.GetInstance(String, Boolean)
    NeoFpsManager<NeoSceneManager>.OnDestroy()
    NeoFpsManager<NeoSceneManager>.GetBehaviourProxy<B>()
    NeoFpsManagerBase.GetSharedGameobject()
    NeoFpsManagerBase.DisableRuntimeManagers()
    NeoFpsManagerBase.EnableRuntimeManagers()
    Namespace: NeoSaveGames.SceneManagement
    Assembly: NeoFPS.dll
    Syntax
    public class NeoSceneManager : NeoFpsManager<NeoSceneManager>

    Properties

    defaultLoadingScreenIndex

    Declaration
    public static int defaultLoadingScreenIndex { get; }
    Property Value
    Type Description
    System.Int32

    defaultMainMenuSceneIndex

    Declaration
    public static int defaultMainMenuSceneIndex { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    Initialise()

    Declaration
    protected override void Initialise()
    Overrides
    NeoFPS.NeoFpsManager<NeoSaveGames.SceneManagement.NeoSceneManager>.Initialise()

    isSceneValid(Int32)

    Declaration
    public static bool isSceneValid(int sceneIndex)
    Parameters
    Type Name Description
    System.Int32 sceneIndex
    Returns
    Type Description
    System.Boolean

    isSceneValid(String)

    Declaration
    public static bool isSceneValid(string sceneName)
    Parameters
    Type Name Description
    System.String sceneName
    Returns
    Type Description
    System.Boolean

    IsValid()

    Declaration
    public override bool IsValid()
    Returns
    Type Description
    System.Boolean
    Overrides
    NeoFpsManagerBase.IsValid()

    LoadMainMenu()

    Declaration
    public static void LoadMainMenu()

    LoadMainMenu(Int32)

    Declaration
    public static void LoadMainMenu(int loadingIndex)
    Parameters
    Type Name Description
    System.Int32 loadingIndex

    LoadMainMenu(String)

    Declaration
    public static void LoadMainMenu(string loadingSceneName)
    Parameters
    Type Name Description
    System.String loadingSceneName

    LoadScene(Int32)

    Declaration
    public static void LoadScene(int sceneIndex)
    Parameters
    Type Name Description
    System.Int32 sceneIndex

    LoadScene(Int32, Action)

    Declaration
    public static void LoadScene(int sceneIndex, Action onComplete)
    Parameters
    Type Name Description
    System.Int32 sceneIndex
    System.Action onComplete

    LoadScene(Int32, Action<Scene>)

    Declaration
    public static void LoadScene(int sceneIndex, Action<Scene> activationCallback)
    Parameters
    Type Name Description
    System.Int32 sceneIndex
    System.Action<Scene> activationCallback

    LoadScene(Int32, Action<Scene>, Action)

    Declaration
    public static void LoadScene(int sceneIndex, Action<Scene> activationCallback, Action onComplete)
    Parameters
    Type Name Description
    System.Int32 sceneIndex
    System.Action<Scene> activationCallback
    System.Action onComplete

    LoadScene(Int32, Int32)

    Declaration
    public static void LoadScene(int sceneIndex, int loadingIndex)
    Parameters
    Type Name Description
    System.Int32 sceneIndex
    System.Int32 loadingIndex

    LoadScene(Int32, Int32, Action)

    Declaration
    public static void LoadScene(int sceneIndex, int loadingIndex, Action onComplete)
    Parameters
    Type Name Description
    System.Int32 sceneIndex
    System.Int32 loadingIndex
    System.Action onComplete

    LoadScene(Int32, Int32, Action<Scene>)

    Declaration
    public static void LoadScene(int sceneIndex, int loadingIndex, Action<Scene> activationCallback)
    Parameters
    Type Name Description
    System.Int32 sceneIndex
    System.Int32 loadingIndex
    System.Action<Scene> activationCallback

    LoadScene(Int32, Int32, Action<Scene>, Action)

    Declaration
    public static void LoadScene(int sceneIndex, int loadingIndex, Action<Scene> activationCallback, Action onComplete)
    Parameters
    Type Name Description
    System.Int32 sceneIndex
    System.Int32 loadingIndex
    System.Action<Scene> activationCallback
    System.Action onComplete

    LoadScene(Int32, String)

    Declaration
    public static void LoadScene(int sceneIndex, string loadingSceneName)
    Parameters
    Type Name Description
    System.Int32 sceneIndex
    System.String loadingSceneName

    LoadScene(Int32, String, Action)

    Declaration
    public static void LoadScene(int sceneIndex, string loadingSceneName, Action onComplete)
    Parameters
    Type Name Description
    System.Int32 sceneIndex
    System.String loadingSceneName
    System.Action onComplete

    LoadScene(Int32, String, Action<Scene>)

    Declaration
    public static void LoadScene(int sceneIndex, string loadingSceneName, Action<Scene> activationCallback)
    Parameters
    Type Name Description
    System.Int32 sceneIndex
    System.String loadingSceneName
    System.Action<Scene> activationCallback

    LoadScene(Int32, String, Action<Scene>, Action)

    Declaration
    public static void LoadScene(int sceneIndex, string loadingSceneName, Action<Scene> activationCallback, Action onComplete)
    Parameters
    Type Name Description
    System.Int32 sceneIndex
    System.String loadingSceneName
    System.Action<Scene> activationCallback
    System.Action onComplete

    LoadScene(String)

    Declaration
    public static void LoadScene(string sceneName)
    Parameters
    Type Name Description
    System.String sceneName

    LoadScene(String, Action)

    Declaration
    public static void LoadScene(string sceneName, Action onComplete)
    Parameters
    Type Name Description
    System.String sceneName
    System.Action onComplete

    LoadScene(String, Action<Scene>)

    Declaration
    public static void LoadScene(string sceneName, Action<Scene> activationCallback)
    Parameters
    Type Name Description
    System.String sceneName
    System.Action<Scene> activationCallback

    LoadScene(String, Action<Scene>, Action)

    Declaration
    public static void LoadScene(string sceneName, Action<Scene> activationCallback, Action onComplete)
    Parameters
    Type Name Description
    System.String sceneName
    System.Action<Scene> activationCallback
    System.Action onComplete

    LoadScene(String, Int32)

    Declaration
    public static void LoadScene(string sceneName, int loadingIndex)
    Parameters
    Type Name Description
    System.String sceneName
    System.Int32 loadingIndex

    LoadScene(String, Int32, Action)

    Declaration
    public static void LoadScene(string sceneName, int loadingIndex, Action onComplete)
    Parameters
    Type Name Description
    System.String sceneName
    System.Int32 loadingIndex
    System.Action onComplete

    LoadScene(String, Int32, Action<Scene>)

    Declaration
    public static void LoadScene(string sceneName, int loadingIndex, Action<Scene> activationCallback)
    Parameters
    Type Name Description
    System.String sceneName
    System.Int32 loadingIndex
    System.Action<Scene> activationCallback

    LoadScene(String, Int32, Action<Scene>, Action)

    Declaration
    public static void LoadScene(string sceneName, int loadingIndex, Action<Scene> activationCallback, Action onComplete)
    Parameters
    Type Name Description
    System.String sceneName
    System.Int32 loadingIndex
    System.Action<Scene> activationCallback
    System.Action onComplete

    LoadScene(String, String)

    Declaration
    public static void LoadScene(string sceneName, string loadingSceneName)
    Parameters
    Type Name Description
    System.String sceneName
    System.String loadingSceneName

    LoadScene(String, String, Action)

    Declaration
    public static void LoadScene(string sceneName, string loadingSceneName, Action onComplete)
    Parameters
    Type Name Description
    System.String sceneName
    System.String loadingSceneName
    System.Action onComplete

    LoadScene(String, String, Action<Scene>)

    Declaration
    public static void LoadScene(string sceneName, string loadingSceneName, Action<Scene> activationCallback)
    Parameters
    Type Name Description
    System.String sceneName
    System.String loadingSceneName
    System.Action<Scene> activationCallback

    LoadScene(String, String, Action<Scene>, Action)

    Declaration
    public static void LoadScene(string sceneName, string loadingSceneName, Action<Scene> activationCallback, Action onComplete)
    Parameters
    Type Name Description
    System.String sceneName
    System.String loadingSceneName
    System.Action<Scene> activationCallback
    System.Action onComplete

    Events

    onSceneLoaded

    Declaration
    public static event UnityAction<int> onSceneLoaded
    Event Type
    Type Description
    UnityAction<System.Int32>

    onSceneLoadFailed

    Declaration
    public static event UnityAction onSceneLoadFailed
    Event Type
    Type Description
    UnityAction

    onSceneLoadProgress

    Declaration
    public static event UnityAction<float> onSceneLoadProgress
    Event Type
    Type Description
    UnityAction<System.Single>

    onSceneLoadRequested

    Declaration
    public static event UnityAction<int, string> onSceneLoadRequested
    Event Type
    Type Description
    UnityAction<System.Int32, System.String>

    preSceneActivation

    Declaration
    public static event UnityAction preSceneActivation
    Event Type
    Type Description
    UnityAction
    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX