BaseField<TValueType>.ValidateValueHandler
Represents a method that validates or adjusts a field's value before committing it.
阅读时间1 分钟最后更新于 1 个月前
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.