public void NewColor() { //Change the color if (hexOneInFront) hex1.GUIColorLerp(Constants.RandomColor()); else hex2.GUIColorLerp(Constants.RandomColor()); //Start the swap animation MoveSwap (); }
//Anytyime a move is made, this is called public void DoMove() { //Update count and color chooser moves.DoMove(); if (!tutorialEnabled) { colorSelector.NewColor(); } else { colorSelector.NewColor(0); } }