mirror of
https://github.com/DCFApixels/DragonECS-Unity.git
synced 2025-09-17 17:34:34 +08:00
fix
This commit is contained in:
parent
d21c65742b
commit
503b97c1eb
@ -454,7 +454,7 @@ namespace DCFApixels.DragonECS.Unity.Editors.X
|
|||||||
bool childElementChanged = false;
|
bool childElementChanged = false;
|
||||||
var eventType = Event.current.type;
|
var eventType = Event.current.type;
|
||||||
|
|
||||||
var label2 = UnityEditorUtility.GetLabel2(cache.Type.FullName + " " + type.FullName);
|
var label2 = "-";
|
||||||
var drawerType = cache.DrawerType;
|
var drawerType = cache.DrawerType;
|
||||||
|
|
||||||
if (isUnityObjectField)
|
if (isUnityObjectField)
|
||||||
|
@ -529,37 +529,6 @@ namespace DCFApixels.DragonECS.Unity.Editors
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
//private static StructList<GUIContent> _stackLabels = new StructList<GUIContent>(4);
|
|
||||||
//public static StackTempLabelScope GetStackLabel(string text, string tooltip = null)
|
|
||||||
//{
|
|
||||||
// StackTempLabelScope result = default;
|
|
||||||
// if (_stackLabels.Count <= 0)
|
|
||||||
// {
|
|
||||||
// result = new StackTempLabelScope(new GUIContent());
|
|
||||||
// }
|
|
||||||
// else
|
|
||||||
// {
|
|
||||||
// var l = _stackLabels[_stackLabels.Count - 1];
|
|
||||||
// _stackLabels.RemoveAt(_stackLabels.Count - 1);
|
|
||||||
// result = new StackTempLabelScope(l);
|
|
||||||
// }
|
|
||||||
// result.Label.text = text;
|
|
||||||
// result.Label.tooltip = tooltip;
|
|
||||||
// return result;
|
|
||||||
//}
|
|
||||||
//private static void ReturnStackLabel(GUIContent label)
|
|
||||||
//{
|
|
||||||
// _stackLabels.Add(label);
|
|
||||||
//}
|
|
||||||
//public readonly struct StackTempLabelScope : IDisposable
|
|
||||||
//{
|
|
||||||
// public readonly GUIContent Label;
|
|
||||||
// public StackTempLabelScope(GUIContent label) { Label = label; }
|
|
||||||
// public void Dispose() { ReturnStackLabel(Label); }
|
|
||||||
// public static implicit operator GUIContent(StackTempLabelScope a) { return a.Label; }
|
|
||||||
//}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
internal static class RuntimeComponentsUtility
|
internal static class RuntimeComponentsUtility
|
||||||
|
Loading…
Reference in New Issue
Block a user