Example #1
0
 public void OnEnter()
 {
     if (Input.GetMouseButton(0))
     {
         //Debug.Log("Enter " + SphereID);
         spCode.AddSphereID(SphereID);
         EnterBool = true;
         GetComponent <Button>().image.color = Color.yellow;
     }
 }