Пример #1
0
 public void doSnap()
 {
     if (isInSnapRange)
     {
         keepOnSnap = true;
         SnapPoint.gameObject.GetComponentInChildren <MeshRenderer>().enabled = false;
         ColorManager.CheckColorMatch(water, note);
     }
     else if (finalSnapInRange)
     {
         keepOnSnap = true;
         SnapPoint.gameObject.GetComponentInChildren <MeshRenderer>().enabled = false;
     }
 }
Пример #2
0
 public void CheckColor()
 {
     ColorManager.CheckColorMatch(GameObject.Find("Water"), TaskListSoupColor);
 }