private void StartAnim() { if (gameObject.name == "leaf_down") { _controllerPanel4.ChangeCountTo6(); } gameObject.transform.GetChild(0).GetComponent <Animation>().Play("HidingObj"); Invoke(nameof(UnSettingActive), 1.1f); //fountain.SetActive(true); //fountain.GetComponent<Button>().enabled = true; }