// 먹이주기 계산 완료 public void FeedCal() { AIStateController.isAnimating = true; uu.fakeFish.SetActive(false); aiState.StopCoroutine("FeedFeed"); checkHappy = happiness; happiness = happiness + (success * 3) - (fail * 1); foodPoint += success * 5; veluga_Ani.SetInteger("FeedState", 0); UInput.uIState = UInput.UIState.Idle; Save(); veluga_State = Chara_State.state_Idle; // 행복도 상승 if (checkHappy <= happiness) { aiState.StartCoroutine(aiState.State_Happy()); } // 행복도 하락 else if (checkHappy > happiness) { aiState.StartCoroutine(aiState.State_Sad()); } }