private void FixedUpdate() { if (gun != null) { if (trigger) { gun.Trigger(); } gun.Update(); } if (skill != null) { if (skill_trig && skill_cd >= 1f) { skill.Activate(); skill_cd = 0; } } }