Arbor 3: FSM & BT Graph Editor  3.7.8
DynamicMethod Class Referenceabstract

A class that accesses Method directly. More...

Inherited by DefaultMethod, and DelegatedMethod.

Public Member Functions

abstract object Invoke (object instance, object[] arguments)
 Call method More...
 

Static Public Member Functions

static DynamicMethod GetMethod (MethodInfo methodInfo)
 Returns DynamicMethod. More...
 

Properties

MethodInfo methodInfo [get, protected set]
 Referencing MethodInfo More...
 

Detailed Description

A class that accesses Method directly.

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

Member Function Documentation

◆ GetMethod()

static DynamicMethod GetMethod ( MethodInfo  methodInfo)
static

Returns DynamicMethod.

Parameters
methodInfoReference MethodInfo
Returns
DynamicMethod referencing the specified MethodInfo

◆ Invoke()

abstract object Invoke ( object  instance,
object[]  arguments 
)
pure virtual

Call method

Parameters
instanceAn instance that has a method
argumentsArgument list
Returns
Method return value

Property Documentation

◆ methodInfo

MethodInfo methodInfo
getprotected set

Referencing MethodInfo