Arbor 3: FSM & BT Graph Editor 3.7.0

Public Member Functions | Static Public Member Functions | Properties | List of all members
DynamicField Class Referenceabstract

A class that accesses Field directly. More...

Inherited by DynamicField.ConstField, DynamicField.DefaultField, and DynamicField.DelegatedField.

## Public Member Functions
abstract object | GetValue (object instance)
| Returns the value of the field. More...
abstract void | SetValue (object instance, object value)
| Set the value of the field. More...

## Static Public Member Functions
static DynamicField | GetField (FieldInfo fieldInfo)
| Returns DynamicField. More...

## Properties
FieldInfo | fieldInfo`[get, protected set]`
| Referencing FieldInfo More...

## Detailed Description

A class that accesses Field directly.

In AOT and IL2CPP environments, it is access by Reflection.

## Member Function Documentation

## ◆ GetField()

static DynamicField GetField | ( | FieldInfo | fieldInfo | ) |
| static

Returns DynamicField.

Parameters

  fieldInfo | Reference FieldInfo

Returns
  DynamicField referencing the specified FieldInfo

## ◆ GetValue()

abstract object GetValue | ( | object | instance | ) |
| pure virtual

Returns the value of the field.

Parameters

  instance | An instance that has a field

Returns
  Field value

## ◆ SetValue()

abstract void SetValue | ( | object | instance,
|  | object | value
| ) |  |
| pure virtual

Set the value of the field.

Parameters

  instance | An instance that has a field
  value | Field value

## Property Documentation

## ◆ fieldInfo

FieldInfo fieldInfo
| get protected set

Referencing FieldInfo