Arbor 3: FSM & BT Graph Editor 3.7.1

Public Member Functions | List of all members
ClassNotUnityObjectAttribute Class Reference

An attribute that restricts the field to only types that are not inherited from UnityEngine.Object. More...

Inheritance diagram for ClassNotUnityObjectAttribute:

## Public Member Functions
override Type | GetBaseType (FieldInfo fieldInfo)
| It returns the base type of constraints. More...
override bool | IsConstraintSatisfied (Type type, FieldInfo fieldInfo)
| Whether the constraint is satisfied is judged. More...
Public Member Functions inherited from ClassTypeConstraintAttribute
virtual string | GetTypeName (FieldInfo fieldInfo)
| Returns the type name of the constraint. More...

## Detailed Description

An attribute that restricts the field to only types that are not inherited from UnityEngine.Object.

Available classes :

- ClassTypeReference
- AnyParameterReference
- InputSlotAny

## Member Function Documentation

## ◆ GetBaseType()

override Type GetBaseType | ( | FieldInfo | fieldInfo | ) |
| virtual

It returns the base type of constraints.

Parameters

  fieldInfo | FieldInfo with this attribute specified

Returns
  The base type of constraints

Reimplemented from ClassTypeConstraintAttribute.

## ◆ IsConstraintSatisfied()

override bool IsConstraintSatisfied | ( | Type | type,
|  | FieldInfo | fieldInfo
| ) |  |
| virtual

Whether the constraint is satisfied is judged.

Parameters

  type | Determining type
  fieldInfo | FieldInfo with this attribute specified

Returns
  Returns true if the constraint is satisfied.

Implements ClassTypeConstraintAttribute.