CallMethod() public static method

执行Lua方法
public static CallMethod ( string module, string func ) : object[]
module string
func string
return object[]
 protected void OnClickEvent(GameObject go)
 {
     QLuaUtil.CallMethod(name, "OnClick", go);
 }
 protected void Start()
 {
     QLuaUtil.CallMethod(name, "Start");
 }
 protected void OnClick()
 {
     QLuaUtil.CallMethod(name, "OnClick");
 }
 protected void Awake()
 {
     QLuaUtil.CallMethod(name, "Awake", gameObject);
 }