public void FixedUpdate() { if (performActionInFixedUpdate) { if (SpecialAbility.IsTypePhysicsBased(specialAbility)) { SpecialAbility.Perform(this); } performActionInFixedUpdate = false; } return; }