Esempio n. 1
0
	private void CreateAndStartTimer() {
		timer = WhitTools.CreateGameObjectWithComponent<Timer>("Pickup Timer");
		timer.SignalReachedGoalTime += OnReachedGoalTime;
		timer.SetUpdateType(WhitUpdateType.Update);
		timer.SetGoalTime(duration);
		timer.StartTimer();
	}