Example #1
0
 static int SetTiles(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 3);
         UnityEngine.Tilemaps.Tilemap    obj  = (UnityEngine.Tilemaps.Tilemap)ToLua.CheckObject(L, 1, typeof(UnityEngine.Tilemaps.Tilemap));
         UnityEngine.Vector3Int[]        arg0 = ToLua.CheckStructArray <UnityEngine.Vector3Int>(L, 2);
         UnityEngine.Tilemaps.TileBase[] arg1 = ToLua.CheckObjectArray <UnityEngine.Tilemaps.TileBase>(L, 3);
         obj.SetTiles(arg0, arg1);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }