// 減速処理 private void Brake() { if (_controlle.DecelerateObject()) { _nowVelocity -= _speed; SetVelocity(); } else { if (_nowVelocity < 0) { _nowVelocity += _speed; if (_nowVelocity > 0) { _nowVelocity = 0; } } } }