A Configuration Parameter attribute decorates a field or a property.
In the scenario editor inspector, the user will be able to fill the value of any field or property with this attribute.
- abel is the displayed name.
- initialValue (optional) is the initial value of the field if the user doesn't set any.
- Description (optional) will be displayed as a tooltip on hovering the field in the inspector.
- Necessity indicates whether a value is required or not.
In Unity, fields and properties with a configuration parameter attribute can also be decorated using other attributes :
- Provide Constraint : constraints a field or property value
- Provider : constraints a field or property value depending on the value of the given field or property.