IEnumerator FightTwo() { print(Time.time); yield return(new WaitForSeconds(3.6f)); WomanAnimator.SetInteger("WomanState", 2); theSoundController.panSound.Play(); StopCoroutine(FightTwo()); drawLetter = true; }
IEnumerator Fight() { print(Time.time); yield return(new WaitForSeconds(3.2f)); line4.SetActive(false); OldManAnimator.SetInteger("OldManState", 3); WomanAnimator.SetInteger("WomanState", 1); StopCoroutine(Fight()); StartCoroutine(FightTwo()); }