private void StartCastintElementProjectile(Element element)
    {
        GameObject spell = element.ElementalSpellPrefab;

        isProjectileCharging = true;
        spellCast.StartProjectileCast(spell, element);
    }
Ejemplo n.º 2
0
    private void InputCastElementalProjectilePerformed()
    {
        if (!isProjectileCasting && !isShieldCasting)
        {
            SlowDownMovementSpeed();

            isProjectileCasting = true;

            spellCast.StartProjectileCast(currentElement.ElementalSpellPrefab, currentElement);
        }
    }