void Update() { if (Input.GetKeyDown("up") || Input.GetKeyDown("down")) { //if neither active, pick one if (!startStroke.activeSelf && !creditsStroke.activeSelf) { if (Input.GetKeyDown("up")) { startStroke.SetActive(true); } else { creditsStroke.SetActive(true); } } //if one active, swap them else { startStroke.SetActive(!startStroke.activeSelf); creditsStroke.SetActive(!creditsStroke.activeSelf); } } if (Input.GetKeyDown("return")) { if (startStroke.activeSelf) { nav.goToInfo(); } else if (creditsStroke.activeSelf) { nav.goToCredits(); } } }