private void InitButtons() { _buttonBox.onClick.AddListener(() => GameManager.Instance.ChangeCreatedInteractableObjectType(0)); _buttonIcosphere.onClick.AddListener(() => GameManager.Instance.ChangeCreatedInteractableObjectType(1)); _buttonStar.onClick.AddListener(() => GameManager.Instance.ChangeCreatedInteractableObjectType(2)); _buttonBox.onClick.AddListener(() => _multiToggle.ChangeButton(0)); _buttonIcosphere.onClick.AddListener(() => _multiToggle.ChangeButton(1)); _buttonStar.onClick.AddListener(() => _multiToggle.ChangeButton(2)); _buttonGravity.onClick.AddListener(() => GameManager.Instance.ToggleGravity()); _buttonGravity.onClick.AddListener(() => _buttonGravity.GetComponent <ToggleOutline>().Toggle()); _buttonSticky.onClick.AddListener(() => GameManager.Instance.ToggleStickyCubes()); _buttonSticky.onClick.AddListener(() => _buttonSticky.GetComponent <ToggleOutline>().Toggle()); _buttonTimer.onClick.AddListener(() => _buttonTimer.GetComponent <CountdownButton>().TimerStart()); }