An Attribute for BaseContainer.
class MyObject
{
bool Prop1;
int Prop2;
string Prop3;
}
class MyObjectSpecial: MyObject
{
float Prop4;
ref MyObject Prop5;
}
class TestCube : GenericEntity
{
[Attribute("", UIWidgets.Object)]
ref MyObject m_singleObject;
[Attribute("", UIWidgets.Object)]
ref array<ref MyObject> m_arrayOfObjects;
};
Definition attributes.c:285
void BaseContainerProps(string category="", string description="", string color="255 0 0 255", bool visible=true, bool insertable=true, bool configRoot=false, string icon="", NamingConvention namingConvention=NamingConvention.NC_MUST_HAVE_GUID)
Definition attributes.c:421