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