private void ToggleOff(int index) { Spell spell = spells [index]; spell.StopCast(); SpellToggle [index] = false; }
public void StopCast(int index) { Spell toStop = spells [index]; if (toStop == null) { return; } if (toStop.Channeled) { toStop.StopCast(); StopCoroutine(channelManaDrain); channeling = false; } }