Arbor 3: FSM & BT Graph Editor 3.7.1

Public Member Functions | Static Public Member Functions | Properties | List of all members
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

  methodInfo | Reference MethodInfo

Returns
  DynamicMethod referencing the specified MethodInfo

## ◆ Invoke()

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

Call method

Parameters

  instance | An instance that has a method
  arguments | Argument list

Returns
  Method return value

## Property Documentation

## ◆ methodInfo

MethodInfo methodInfo
| get protected set

Referencing MethodInfo