Tri-Inspector/Editor/Elements/TriInspectorElement.cs

15 lines
407 B
C#
Raw Normal View History

2021-12-07 18:20:36 +03:00
namespace TriInspector.Elements
{
internal class TriInspectorElement : TriPropertyCollectionBaseElement
{
public TriInspectorElement(TriPropertyTree propertyTree)
{
DeclareGroups(propertyTree.TargetObjectType);
foreach (var childProperty in propertyTree.Properties)
{
AddProperty(childProperty);
}
}
}
}