public void CursorUp() { if (cursornum > 0) { cursornum--; } soundScript.DecideSound2(); SelectCursor[cursornum].gameObject.SetActive(true); SelectCursor[(cursornum + 1) % 4].gameObject.SetActive(false); SelectCursor[(cursornum + 2) % 4].gameObject.SetActive(false); SelectCursor[(cursornum + 3) % 4].gameObject.SetActive(false); }
public void push_pause() { if (state == State.Play) { windowActiveScript.Active(); soundScript.DecideSound2(); Pause(); } else { windowActiveScript.Hidden(); soundScript.DecideSound1(); Backgame(); } }