public void FixedUpdate() { if (_unit.IsStunned) { return; } _currentState = GetState(); _currentState.FixedUpdate(); if (_parameters.IsSetToFire && _torso.Gun) { _torso.Gun.Fire(); } }
public void FixedUpdate() { if (_unit.IsStunned) { return; } _currentState = GetState(); _currentState.FixedUpdate(); if (_parameters.IsSetToFire && _torso.Gun) { _torso.Gun.Fire(); } }