public void OnClickGosha() { NastyaInfo.SetActive(false); GinInfo.SetActive(false); GoshaInfo.SetActive(true); if (checkname(Nickname.text) != 0) { ButtonOK.interactable = true; } result_of_choice = 3; }
void Start() { //устанавливаем ссылки NastyaInfo = PanelNastya.transform.GetChild(2).gameObject; GinInfo = PanelGin.transform.GetChild(2).gameObject; GoshaInfo = PanelGosha.transform.GetChild(2).gameObject; ButtonOK.interactable = false; NastyaInfo.SetActive(false); GinInfo.SetActive(false); GoshaInfo.SetActive(false); sourceOnScene.volume = (80 - UIMenu.volume * (-1)) / 100; }