예제 #1
0
	private void removeWindowReferences() {
		
		_questionWindow.onLeftAnswer -= onLeftAnswer;
		_questionWindow.onAnswered -= onBuyMoreTerraDollars;
		_questionWindow.onAnswered -= onBuyMoreTerraCoins;
		_questionWindow = null;
	}
예제 #2
0
		public void cleanQuestionWindow() {
			if(buyMoreTDsBtn!=null) {
				buyMoreTDsBtn.onAnswered -= onBuyMore;
				buyMoreTDsBtn.onLeftAnswer -= onDidntRevive;
				buyMoreTDsBtn = null;
			}
			
		}
예제 #3
0
		public void onContinueEvolving() {
			if (cancelEvolves != null) {
				cancelEvolves.onLeftAnswer -= onCancelEvolution;
				cancelEvolves.onAnswered -= onContinueEvolving;
				cancelEvolves = null;
			}
			battleOverScreen.consumeEvolves ();
		}