baobao
2/5/2017 - 2:25 PM

GetMethods.cs

var methodInfos = typeof(SampleClass).GetMethods ();
foreach(var method in methodInfos)
{
    Debug.Log(method.Name);
}