Arbor 3: FSM & BT Graph Editor  3.7.8
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
fieldInfoReference FieldInfo
Returns
DynamicField referencing the specified FieldInfo

◆ GetValue()

abstract object GetValue ( object  instance)
pure virtual

Returns the value of the field.

Parameters
instanceAn 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
instanceAn instance that has a field
valueField value

Property Documentation

◆ fieldInfo

FieldInfo fieldInfo
getprotected set

Referencing FieldInfo