mirror of
https://github.com/codewriter-packages/Tri-Inspector.git
synced 2025-01-22 00:08:51 -05:00
TableList can be used on non generic elements
This commit is contained in:
parent
6038aa2d13
commit
383815a216
@ -368,7 +368,14 @@ namespace TriInspector.Drawers
|
||||
}
|
||||
else
|
||||
{
|
||||
AddChild(new TriLabelElement("[TableList] cannot be used on non generic elements"));
|
||||
var element = new TriPropertyElement(property, new TriPropertyElement.Props
|
||||
{
|
||||
forceInline = true,
|
||||
});
|
||||
var headerContent = new GUIContent("Element");
|
||||
|
||||
AddChild(element);
|
||||
Elements.Add(new KeyValuePair<TriElement, GUIContent>(element, headerContent));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user