public AsyncOperation LoadAsync(SceneDefined.Index index, Action onLoadding, Action onFinish, float delayTime = 0) { currentSceneName = index.ToString(); return(LoadAsync((int)index, onLoadding, onFinish, delayTime)); }
public AsyncOperation LoadAsync(SceneDefined.Index index) { return(SceneManager.LoadSceneAsync((int)index)); }
public void Load(SceneDefined.Index index) { currentSceneName = index.ToString(); Load((int)index); }