public void Start(SPSceneManager manager, ISceneLoadOptions options, ISceneBehaviour lastScene) { _manager = manager; _options = options; _lastScene = lastScene; _routine = manager.StartRadicalCoroutine(this.DoLoad()); //GameLoopEntry.Hook.StartRadicalCoroutine(this.DoLoad(), RadicalCoroutineDisableMode.Default); }
public IProgressingYieldInstruction LoadScene(ISceneLoadOptions options) { if (options == null) throw new System.ArgumentNullException("options"); if (_loadingOp != null) { _loadingOp.Cancel(); if (!_loadingOp.NextSceneStarted) _currentSceneBehaviour = null; _loadingOp = null; } _lastSceneBehaviour = _currentSceneBehaviour; _currentSceneBehaviour = null; _loadingOp = new WaitForSceneLoaded(); _loadingOp.Start(this, options, _lastSceneBehaviour); return _loadingOp; }
public IProgressingYieldInstruction LoadScene(ISceneLoadOptions options) { if (options == null) { throw new System.ArgumentNullException("options"); } if (_loadingOp != null) { _loadingOp.Cancel(); if (!_loadingOp.NextSceneStarted) { _currentSceneBehaviour = null; } _loadingOp = null; } _lastSceneBehaviour = _currentSceneBehaviour; _currentSceneBehaviour = null; _loadingOp = new WaitForSceneLoaded(); _loadingOp.Start(this, options, _lastSceneBehaviour); return(_loadingOp); }
public void Start(SceneManager manager, ISceneLoadOptions options, ISceneBehaviour lastScene) { _manager = manager; _options = options; _lastScene = lastScene; _routine = manager.StartRadicalCoroutine(this.DoLoad()); //GameLoopEntry.Hook.StartRadicalCoroutine(this.DoLoad(), RadicalCoroutineDisableMode.Default); }
public SceneLoadingEventArgs(SPSceneManager manager, ISceneLoadOptions loadOptions) { _manager = manager; _options = loadOptions; }
public SceneLoadingEventArgs(SceneManager manager, ISceneLoadOptions loadOptions) { _manager = manager; _options = loadOptions; }