浏览代码

small bugfix fo vis UI word wrapping when no labelers are active

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

1
com.unity.perception/Runtime/GroundTruth/PerceptionCamera.cs


GUI.skin.label.font = Resources.Load<Font>("Inter-Light");
GUI.skin.label.padding = new RectOffset(0, 0, 1, 1);
GUI.skin.label.margin = new RectOffset(0, 0, 1, 1);
GUI.skin.label.wordWrap = true;
GUI.skin.box.padding = new RectOffset(5, 5, 5, 5);
GUI.skin.toggle.margin = new RectOffset(0, 0, 0, 0);
GUI.skin.horizontalSlider.margin = new RectOffset(0, 0, 0, 0);

正在加载...
取消
保存