OnValidate

OnValidate()

protected void OnValidate() ;

Description

Called when the script is loaded or the value of the Inspector changes (Editor only)