void CowOptionIsPressed() { // Reset reusable lights etc for directing attention to certain changes ResetStates(); switch (chosenOption) { case "optionA": print("Cow: optionA activated"); break; case "optionB": print("Cow: optionB activated"); break; case "optionC": print("Cow: optionC activated"); break; case "optionD": print("Cow: optionD activated"); break; } show = !show; CowUIDisplay.SetActive(show); }
void CowIsReleased() { print("Cow activated"); show = !show; CowUIDisplay.SetActive(show); }