void StartPrepareAnimation(string animation) { castTimeRemaining = spellUnleashTime + spellPrepTime; isCasting = true; hasUnleashedSpell = false; animator.PlayCastAnimation(animation, spellPrepTime, spellUnleashTime); }