BaseField<TValueType>.ValidateValueHandler
Represents a method that validates or adjusts a field's value before committing it.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Delegate
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public delegate TValueType BaseField<TValueType>.ValidateValueHandler(TValueType value)
Remarks
Use this delegate to modify or validate a value before committing it. For example, you can clamp, sanitize, or replace the input value to match specific constraints.