static int GetVisibleChild(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); FairyGUI.GComponent obj = (FairyGUI.GComponent)ToLua.CheckObject(L, 1, typeof(FairyGUI.GComponent)); string arg0 = ToLua.CheckString(L, 2); FairyGUI.GObject o = obj.GetVisibleChild(arg0); ToLua.PushObject(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }