IEnumerator WaitProcess() { float timer = waitProgressTime; gm.StopTimer(); gm.ui.cookWorker.SetActive(true); SoundManager.Instance.PlaySFX(SoundManager.SFX_SOUND.GRILL); while (timer > 0) { timer -= Time.deltaTime; yield return(null); } gm.ui.cookWorker.SetActive(false); gm.ui.cookResult.UpdateStickName(currentStick.GetName()); gm.ui.cookResult.gameObject.SetActive(true); }