기술 자료

Unity Engine

Unity Engine

BaseField<TValueType>.ValidateValueHandler

Represents a method that validates or adjusts a field's value before committing it.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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.