Performs custom processes to validate that the specified object can be added to the collection.
void OnValidate( Object value )
value – the object to validate.