浏览代码

HierarchyHints fix for 19.3 new skin

/main
peeweek 5 年前
当前提交
8d1eae6e
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4
      Editor/HierarchyHints/HierarchyHints.cs

4
Editor/HierarchyHints/HierarchyHints.cs


if (!Active) return;
var fullRect = selectionRect;
#if UNITY_2019_3_OR_NEWER
fullRect.xMin = 32;
#else
#endif
fullRect.xMax = EditorGUIUtility.currentViewWidth;
GameObject o = EditorUtility.InstanceIDToObject(instanceID) as GameObject;
if (o == null) return;

正在加载...
取消
保存