예제 #1
0
    // -- Start Fading [THIS IS THE FUNCTION U CALL TO TOGGLE FADING]
    public void StartFade(string SceneName, bool Mode = false)
    {
        // -- Do not constantly reset fade
        if (b_DoFade) return;

        // -- Set Scene to be loaded
        this.SceneName = SceneName;
        this.sceneIdType = SceneIdType.NAME_ID;

        StartFade(Mode);
    }
예제 #2
0
    public void StartFade(int SceneIdx, bool Mode = false)
    {
        // -- Do not constantly reset fade
        if (b_DoFade)
        {
            return;
        }

        // -- Set Scene to be loaded
        this.SceneNum    = SceneIdx;
        this.sceneIdType = SceneIdType.NUMBER_ID;

        StartFade(Mode);
    }
예제 #3
0
    // -- Start Fading [THIS IS THE FUNCTION U CALL TO TOGGLE FADING]
    public void StartFade(string SceneName, bool Mode = false)
    {
        // -- Do not constantly reset fade
        if (b_DoFade)
        {
            return;
        }

        // -- Set Scene to be loaded
        this.SceneName   = SceneName;
        this.sceneIdType = SceneIdType.NAME_ID;

        StartFade(Mode);
    }
예제 #4
0
    public void StartFade(int SceneIdx, bool Mode = false)
    {
        // -- Do not constantly reset fade
        if (b_DoFade) return;

        // -- Set Scene to be loaded
        this.SceneNum = SceneIdx;
        this.sceneIdType = SceneIdType.NUMBER_ID;

        StartFade(Mode);
    }