Validate method

Description

Performs custom processes to validate that the specified object can be added to the collection.

Syntax

void OnValidate( Object value )

Parameter

value The object to validate.