Arbor 3: FSM & BT Graph Editor  3.6.0
ArborEventUtility Class Reference

ArborEvent utility class More...

Static Public Member Functions

static string GetMethodName (MethodInfo methodInfo)
 Returns the method name. More...
 
static ParameterType GetParameterType (System.Type type)
 Returns the type of parameter. More...
 
static bool IsSelectableMethod (MethodInfo methodInfo)
 It is judged whether it is a selectable method. More...
 
static object Cast (object obj, System.Type type)
 Cast the object. More...
 
static object GetDefault (System.Type type)
 Returns the default value of type. More...
 

Detailed Description

ArborEvent utility class

Member Function Documentation

◆ Cast()

static object Cast ( object  obj,
System.Type  type 
)
static

Cast the object.

Parameters
objThe object to cast
typeCasting type
Returns
Casted value

◆ GetDefault()

static object GetDefault ( System.Type  type)
static

Returns the default value of type.

Parameters
typeDefault value type
Returns
Default value

◆ GetMethodName()

static string GetMethodName ( MethodInfo  methodInfo)
static

Returns the method name.

Parameters
methodInfoMethodInfo that returns method name
Returns
Method name

◆ GetParameterType()

static ParameterType GetParameterType ( System.Type  type)
static

Returns the type of parameter.

Parameters
typeType
Returns
Type of parameter

◆ IsSelectableMethod()

static bool IsSelectableMethod ( MethodInfo  methodInfo)
static

It is judged whether it is a selectable method.

Parameters
methodInfoMethodInfo to determine
Returns
Returns true if it is selectable