Esempio n. 1
0
 public static void ReleaseGridBg(GameObject grid)
 {
     if (grid.name == "gridBg")
     {
         BufferPool.Add("gridBg", grid);
     }
     else if (grid.name == "gridSide")
     {
         ReleaseGridSide(grid);
     }
 }
Esempio n. 2
0
 public static void ReleaseGrid(GameObject grid)
 {
     BufferPool.Add("Grid" + grid.name, grid);
 }
Esempio n. 3
0
 public static void ReleaseGridSide(GameObject grid)
 {
     BufferPool.Add("gridSide", grid);
 }