Skip to content

ProbabilityCollectionOptionsAttribute

Namespace: SideXP.Core | Inherits from: Attribute

public class ProbabilityCollectionOptionsAttribute : Attribute

Defines options for a probability collection and how it behaves in the inspector.

Properties

AllowAddOrRemove

public bool AllowAddOrRemove

If enabled, the add and remove button are enabled in the inspector, allowing user to add or remove items in the collection.

Reorderable

public bool Reorderable

If enabled, allow the user to reorder the items in the collection from the inspector.