示例#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 ();
		}