GetValidMethodInfo
Given an object, function name, and a list of argument types; find the method that matches.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Events
- Assembly: UnityEngine.CoreModule
GetValidMethodInfo(Object, string, Type[])
Given an object, function name, and a list of argument types; find the method that matches.
public static MethodInfo GetValidMethodInfo(object obj, string functionName, Type[] argumentTypes)
Parameters
Returns
Type | Description |
|---|---|
| MethodInfo |
GetValidMethodInfo(Type, string, Type[])
Given an object type, function name, and a list of argument types; find the method that matches.
public static MethodInfo GetValidMethodInfo(Type objectType, string functionName, Type[] argumentTypes)
Parameters
Returns
Type | Description |
|---|---|
| MethodInfo |