예제 #1
0
 static int GetChild(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         UITableViewCell        obj  = (UITableViewCell)ToLua.CheckObject <UITableViewCell>(L, 1);
         string                 arg0 = ToLua.CheckString(L, 2);
         UnityEngine.GameObject o    = obj.GetChild(arg0);
         ToLua.PushSealed(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }