Beispiel #1
0
    public override IEnumerator BasicBezierShoot(SimpleObjectPool _simpleObjectPool, SkillManager _skillManager, Character _AttackCharacter, Character _TargetCharacter, Vector3 _startPosition, bool _bIsCritical)
    {
        yield return(StartCoroutine(BezierCurve(_startPosition, _TargetCharacter.transform.position)));

        _skillManager.BasicAttack(_AttackCharacter, _TargetCharacter, _bIsCritical);

        _simpleObjectPool.ReturnObject(gameObject);

        yield break;
    }