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; } }
public void CheckColor() { ColorManager.CheckColorMatch(GameObject.Find("Water"), TaskListSoupColor); }