void Awake(){
		gamePlayMaster = GetComponent<GamePlayMaster> ();

		gamePlayMaster.OnNoBlocksOnGround += delegate {
			NewBlockSet ();
		};

		gamePlayMaster.OnBlocksOnGroundWithNoDropMatch += NoPlayAvailable;

		gamePlayMaster.OnSuccessfulDrag += DropBlocksOnDropZone;
	}
Example #2
0
	void Awake(){
		gamePlayMaster = GetComponent<GamePlayMaster> ();
		gamePlayMaster.OnColumsAndRowsCleared += delegate(int ColCount, int RowCount) {
			AddScore(ScoreManager.GetTotalScore(ColCount, RowCount));
		};
	}