Exemplo n.º 1
0
 static int ClearGameObject(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         BaseResLoader          obj  = (BaseResLoader)ToLua.CheckObject <BaseResLoader>(L, 1);
         UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckObject(L, 2, typeof(UnityEngine.GameObject));
         obj.ClearGameObject(ref arg0);
         ToLua.PushSealed(L, arg0);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }