|
Infohazard.Core 1.4.2
Infohazard Core Utility Library
|
Used to validate and modify values that a user is attempting to assign to an object reference field. More...
Public Member Functions | |
| Object | ValidateObjectFieldAssignment (Object[] references, Type objType, SerializedProperty property, int options) |
| Validate the input objects for assignment to a field of the given type, and return a valid one. More... | |
Used to validate and modify values that a user is attempting to assign to an object reference field.
| Object Infohazard.Core.Editor.IObjectReferenceFieldAssignmentValidator.ValidateObjectFieldAssignment | ( | Object[] | references, |
| Type | objType, | ||
| SerializedProperty | property, | ||
| int | options | ||
| ) |
Validate the input objects for assignment to a field of the given type, and return a valid one.
| references | All objects attempting to be assigned. |
| objType | The type of the field. |
| property | The property that references the field. |
| options | Additional options (used internally by Unity). |
Implemented in Infohazard.Core.Editor.ObjectReferenceFieldAssignmentValidator.