/////////////////////////////////////// public void SetArroundMineInfo(Floor floor, int tileCount = TileCount) { for (int x = 0; x < tileCount; ++x) { Inner inner = floor.tiles[x].GetComponent <Tile>().inner; inner.CheckArround(); } }
// public void SetArroundMineInfo(Block block) { for (int y = 0; y < FloorCount; ++y) { for (int x = 0; x < TileCount; ++x) // -1 : Inside Concrete { Inner inner = block.GetFloor(y).tiles[x].GetComponent <Tile>().inner; //if (inner.isDanger == true) // continue; inner.CheckArround(); } } }