static int FindNode(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 2 && TypeChecker.CheckTypes(L, 1, typeof(UnityEngine.GameObject), typeof(string))) { UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.ToObject(L, 1); string arg1 = ToLua.ToString(L, 2); UnityEngine.Transform o = UnGfx.FindNode(arg0, arg1); ToLua.Push(L, o); return(1); } else if (count == 2 && TypeChecker.CheckTypes(L, 1, typeof(UnityEngine.Transform), typeof(string))) { UnityEngine.Transform arg0 = (UnityEngine.Transform)ToLua.ToObject(L, 1); string arg1 = ToLua.ToString(L, 2); UnityEngine.Transform o = UnGfx.FindNode(arg0, arg1); ToLua.Push(L, o); return(1); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to method: UnGfx.FindNode")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }