浏览代码

cut warning text for large values

/main
Mohsen Kamalzadeh 4 年前
当前提交
dca1a522
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      com.unity.perception/Editor/GroundTruth/PerceptionCameraEditor.cs

2
com.unity.perception/Editor/GroundTruth/PerceptionCameraEditor.cs


if (perceptionCamera.simulationDeltaTime > k_DeltaTimeTooLarge)
{
EditorGUILayout.HelpBox($"Large {k_FrametimeTitle} values can lead to significantly lower performance due to the processing time needed for simulating a larger period of time for each rendered frame. ", MessageType.Warning);
EditorGUILayout.HelpBox($"Large {k_FrametimeTitle} values can lead to significantly lower simulation performance.", MessageType.Warning);
}
var interval = (perceptionCamera.framesBetweenCaptures + 1) * perceptionCamera.simulationDeltaTime;

正在加载...
取消
保存