コード例 #1
0
    IEnumerator FightTwo()
    {
        print(Time.time);
        yield return(new WaitForSeconds(3.6f));

        WomanAnimator.SetInteger("WomanState", 2);
        theSoundController.panSound.Play();
        StopCoroutine(FightTwo());
        drawLetter = true;
    }
コード例 #2
0
    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());
    }