| | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendMessageUpwards", _m_SendMessageUpwards); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendMessage", _m_SendMessage); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "BroadcastMessage", _m_BroadcastMessage); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "FindChildComponent", _m_FindChildComponent); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "FindComponent", _m_FindComponent); |
| | | |
| | | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "transform", _g_get_transform); |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_FindChildComponent(RealStatePtr L) |
| | | static int _m_FindComponent(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | |
| | | string __type = LuaAPI.lua_tostring(L, 2); |
| | | string __path = LuaAPI.lua_tostring(L, 3); |
| | | |
| | | UnityEngine.Component gen_ret = gen_to_be_invoked.FindChildComponent( __type, __path ); |
| | | UnityEngine.Component gen_ret = gen_to_be_invoked.FindComponent( __type, __path ); |
| | | translator.Push(L, gen_ret); |
| | | |
| | | |