Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Events.UnityEventBase.GetValidMethodInfo

public static function GetValidMethodInfo(obj: object, functionName: string, argumentTypes: Type[]): MethodInfo;

Parameters

obj Object to search for the method.
functionName Function name to search for.
argumentTypes Argument types for the function.

Description

Given an object, function name, and a list of argument types; find the method that matches.