protected void NextLevel(SmartTransition.levelTransition transition) { this._nextLevel(transition); }
private void _nextLevel(SmartTransition.levelTransition transition) { //this._reset(); if (transition != null) { transition.doTransition(this.GetNextLevel(), this); } else { this.levelTime = DateTime.Now.AddSeconds(2); this.showLevel = true; } }
private void Exit(SmartTransition.levelTransition transition, string spawnPosition, string scene) { SmartCommon.Common.spawnPosition = spawnPosition; UI.HideAll(); transition.doTransition(scene, this); }