SubassetLabelAttribute¶
Namespace:
SideXP.Core| Inherits from:Attribute
Defines metadata for ScriptableObject classes that can be used as subassets from a property marked with SubassetsListOptionsAttribute.
Constructors¶
SubassetLabelAttribute()¶
Defines metadata for ScriptableObject classes that can be used as subassets from a property marked with SubassetsListOptionsAttribute.
SubassetLabelAttribute(string)¶
Parameters
name
SubassetLabelAttribute(string, string)¶
Defines metadata for ScriptableObject classes that can be used as subassets from a property marked with SubassetsListOptionsAttribute.
Parameters
namedescription
Properties¶
Name¶
The label displayed in the list's dropdown, and the default name of this subasset on its creation. If not defined, the "nicified" type name of this class is used.
Description¶
The description of the subasset, as displayed in the inspector.