static int getKid(IntPtr L) { try { ToLua.CheckArgsCount(L, 3); EffectRenderObj obj = (EffectRenderObj)ToLua.CheckObject(L, 1, typeof(EffectRenderObj)); string arg0 = ToLua.CheckString(L, 2); UnityEngine.GameObject arg1 = (UnityEngine.GameObject)ToLua.CheckUnityObject(L, 3, typeof(UnityEngine.GameObject)); UnityEngine.GameObject o = obj.getKid(arg0, arg1); ToLua.Push(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }