コード例 #1
0
ファイル: EGameBase.cs プロジェクト: elvis-alfaro/egamebase
	protected void NextLevel(SmartTransition.levelTransition transition) {		
			this._nextLevel(transition);	
	}
コード例 #2
0
ファイル: EGameBase.cs プロジェクト: elvis-alfaro/egamebase
	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
ファイル: EGameBase.cs プロジェクト: elvis-alfaro/egamebase
	private void Exit(SmartTransition.levelTransition transition, string spawnPosition, string scene)   {
		SmartCommon.Common.spawnPosition = spawnPosition;
		UI.HideAll();
		transition.doTransition(scene, this);
	}