Exemplo n.º 1
0
    IEnumerator WeaponCD(Vector3 aimForward)
    {
        IsColdingDown    = true;
        action.AttackDir = aimForward;
        action.AttackTag = AttackTag;
        action.TakeAction(entity);
        yield return(new WaitForSeconds(attack.Interval));

        IsColdingDown = false;
    }