Custom Attributes
Inspector Attributes
[Section]
[Section("Movement Settings")]
[SerializeField] private float speed = 5f;
[SerializeField] private float jumpHeight = 2f;
[Section("Combat Settings", collapsible: true)]
[SerializeField] private float attackDamage = 10f;[DisplayNameTooltip]
[DisplayNameTooltip("Walk Speed", "Base movement speed in units per second.")]
[SerializeField] private float speed = 5f;[ReadOnly]
[InlineField]
[SparkInspector]
[SparkFoldout]
Field Attributes
[ConditionalField]
[ConditionalMultiField]
[Switch]
[NestedField]
[TagField]
[CustomFieldUI]
Database Attributes
[SparkDatabaseEntrySelector]
[DatabaseEntryDropdown]
[ScriptableObjectDropdown]
[NestedData]
[ShowInEventDropdown]
Trigger Attributes
[TriggerRefresh]
[HorizontalRuleTriggers]
[HorizontalRuleChecks]
Combining Attributes
Usage Guidelines
Last updated
Was this helpful?
