Exemplo n.º 1
0
    IEnumerator UseMyFinisher()
    {
        tCam.useThirdCam = false;
        myFinisherParticle.SetActive(true);
        myAnim.endSkillAtk = true;
        camAnim.SetTrigger("PlayFinisher");
        myMovement.SetMove(false);
        ShakeTransform.Instance.useShake = false;
        myUnitState.useFinisher          = true;
        RotateCore.Instance.stopCore     = true;
        yield return(new WaitForSeconds(7.0f));

        myFinisherParticle.SendMessage("AtkTarget");
        myAnim.endSkillAtk = false;
        myAnim.FinisherExit();

        yield return(new WaitForSeconds(1.2f));

        myMovement.SetMove(true);
        tCam.useThirdCam                 = true;
        myUnitState.useFinisher          = false;
        ShakeTransform.Instance.useShake = true;
    }