void ButtonesSetting() { addButton.onClick.AddListener(() => { AddValue(); }); minusButton.onClick.AddListener(() => { MinusValue(); }); okButton = GameObject.Find(OK_BUTTON_OBJ).GetComponent <Button>(); okButton.onClick.AddListener(() => { Click click = new Click(Resources.Load <AudioClip>(CLICK_SE_FILE)); click.PlaySe(); BuyStoneItem(); RemoveListeners(); }); cancelButton = GameObject.Find(CANSEL_BUTTON_OBJ).GetComponent <Button>(); cancelButton.onClick.AddListener(() => { ConfirmationStoneManager.Instance.SetActive(false); }); }