public void ButtonRight() { /*if (nextMode) * { * nextMode.SetActive(true); * gameObject.SetActive(false); * }*/ if (Begin) { star.Intermediate(); } else if (Inter) { star.Advance(); } else if (Advan) { star.Expert(); } else if (Expert) { star.Master_(); } }