Skip to content

SubassetsListOptionsAttribute

Namespace: SideXP.Core | Inherits from: PropertyAttribute

public class SubassetsListOptionsAttribute : PropertyAttribute

Defines additional options for SubassetsList`1 properties.

Constructors

SubassetsListOptionsAttribute()

public SubassetsListOptionsAttribute()

Defines additional options for SubassetsList`1 properties.

Properties

DisllowRename

public bool DisllowRename

By default, subassets can be renamed from the inspector. If enabled, subassets can't be renamed at all.

Unique

public bool Unique

By default, the list is allowed to contain several instances of the same subasset type. If enabled, types already existing in the list will be disabled in the inspector.