Inheritance: AWebCoroutine
Beispiel #1
0
	/// <summary>
	/// Initializes a new instance of the <see cref="NturnUI"/> class.
	/// </summary>
	public NturnUI(){
		NturnBox.x = 170f + 5f;
		NturnBox.y = Screen.height - 85f - 80f;
		NturnBox.width = 220f;
		NturnBox.height = 75f;
		
		PutTurnOverCoroutine = new WebCoroutine(PutTurnOver);
		StartNewTurnCoroutine = new WebCoroutine(startNewTurn );
		GetTurnTimeLeftCoroutine = new WebCoroutine(GetTurnTimeLeft);

	}
	public EconomyController()
	{
		ModifyPlayerData = new WebCoroutine<Player.CharacterClass,int,PlayerDataHandler>(ChangePlayerData);
		ModifyTimberCount = new WebCoroutine<int>(ChangeTimberCount);
	}
Beispiel #3
0
	public ClientRequest( WebCoroutine.OnExecuteDelegate func ) {
		webCoroutine = new WebCoroutine( func );
		webCoroutine.OnComplete = OnComplete;
	}