예제 #1
0
        public void FixedUpdate()
        {
            if (_unit.IsStunned)
            {
                return;
            }

            _currentState = GetState();
            _currentState.FixedUpdate();

            if (_parameters.IsSetToFire && _torso.Gun)
            {
                _torso.Gun.Fire();
            }
        }