Ejemplo n.º 1
0
 public void OnJump()                            //Jump button is used as a select item, will only be trigger after assigned to a controller
 {
     if (!colourSelected)
     {
         control_mnge_funcs.AssignPlayerColour(playerNo - 1, colourNo);
         label.color = palette[colourNo];
         control_mnge_funcs.ReadyPlayer(playerNo);
     }
     Debug.Log("Select Button Pressed");
 }