// -- 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); }
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); }
// -- 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); }
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); }