diff --git a/Assets/AWSIM/Scripts/Sensors/Camera/CameraSensorHolder.cs b/Assets/AWSIM/Scripts/Sensors/Camera/CameraSensorHolder.cs index 7f121ac0b..2e1d1f0da 100644 --- a/Assets/AWSIM/Scripts/Sensors/Camera/CameraSensorHolder.cs +++ b/Assets/AWSIM/Scripts/Sensors/Camera/CameraSensorHolder.cs @@ -19,7 +19,7 @@ public class CameraSensorHolder : MonoBehaviour /// Data output hz. /// Sensor processing and callbacks are called in this hz. /// - [Range(0, 30)] [SerializeField] private uint publishHz = 10; + [Range(0, 30)][SerializeField] private uint publishHz = 10; /// /// Rendering sequence type. diff --git a/Assets/AWSIM/Scripts/Vehicles/GroudSlipMultiplier.cs b/Assets/AWSIM/Scripts/Vehicles/GroudSlipMultiplier.cs index 1698f1a93..8dd427132 100644 --- a/Assets/AWSIM/Scripts/Vehicles/GroudSlipMultiplier.cs +++ b/Assets/AWSIM/Scripts/Vehicles/GroudSlipMultiplier.cs @@ -9,8 +9,8 @@ namespace AWSIM /// public class GroudSlipMultiplier : MonoBehaviour { - [Range(0, 1)] [SerializeField] float forwardSlip; - [Range(0, 1)] [SerializeField] float sidewaySlip; + [Range(0, 1)][SerializeField] float forwardSlip; + [Range(0, 1)][SerializeField] float sidewaySlip; /// /// Slip multiplier in foward direction. diff --git a/Assets/AWSIM/Scripts/Vehicles/Vehicle.cs b/Assets/AWSIM/Scripts/Vehicles/Vehicle.cs index 536fc8c27..c9e155e81 100644 --- a/Assets/AWSIM/Scripts/Vehicles/Vehicle.cs +++ b/Assets/AWSIM/Scripts/Vehicles/Vehicle.cs @@ -159,7 +159,7 @@ public float SidewaySlipMultipler // Coefficient for prevent skidding while stopping. // Applies to each wheel. // TODO: A more accurate calculation method. - [Range(0.05f, 1f)] [SerializeField] float SkiddingCancelRate; + [Range(0.05f, 1f)][SerializeField] float SkiddingCancelRate; [Space()] [Header("Axles Settings")]