Пример #1
0
	protected void NextLevel(SmartTransition.levelTransition transition) {		
			this._nextLevel(transition);	
	}
Пример #2
0
	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;
		}
	}
Пример #3
0
	private void Exit(SmartTransition.levelTransition transition, string spawnPosition, string scene)   {
		SmartCommon.Common.spawnPosition = spawnPosition;
		UI.HideAll();
		transition.doTransition(scene, this);
	}