public void TryAlt() { var weapon = currentSlot._Item as SO_Weapon; if (CostCheck() == true) { if (weapon as SO_Spell) { spellController.TryAlt(); } else { weaponController.Alt(); } } }