Skip to content

Commit c900345

Browse files
authored
Merge pull request #3810 from davidkline-ms/profilerSampleRateRange
profiler sample rate was unbounded in the inspector
2 parents 357def3 + a4dae1d commit c900345

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Assets/MixedRealityToolkit/Definitions/Diagnostics/MixedRealityDiagnosticsProfile.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ public class MixedRealityDiagnosticsProfile : BaseMixedRealityProfile
3636
[SerializeField]
3737
[FormerlySerializedAs("frameRateDuration")]
3838
[Tooltip("The amount of time, in seconds, to collect frames for frame rate calculation.")]
39+
[Range(0, 5)]
3940
private float frameSampleRate = 0.1f;
4041

4142
/// <summary>

0 commit comments

Comments
 (0)