Tri-Inspector/Editor/Elements/TriInspectorElement.cs

18 lines
462 B
C#
Raw Normal View History

2022-05-17 06:33:23 -04:00
using System;
using System.Collections.Generic;
namespace TriInspector.Elements
2021-12-07 10:20:36 -05:00
{
internal class TriInspectorElement : TriPropertyCollectionBaseElement
{
2022-05-17 06:33:23 -04:00
public TriInspectorElement(Type targetObjectType, IReadOnlyList<TriProperty> properties)
2021-12-07 10:20:36 -05:00
{
2022-05-17 06:33:23 -04:00
DeclareGroups(targetObjectType);
2021-12-07 10:20:36 -05:00
2022-05-17 06:33:23 -04:00
foreach (var childProperty in properties)
2021-12-07 10:20:36 -05:00
{
AddProperty(childProperty);
}
}
}
}