ValidatorAttribute.

TryValidate(Object) Method

Summary

Validates an UnityEngine.Object value or returns false to revert to the previous value.

Syntax

public virtual bool TryValidate(ref Object value)

Parameters

Name Type Description
value Object

Return Value

Type Description
bool