Пример #1
0
 private Vector3 CellToWorld(Vector2Int cellPos)
 {
     return(grid.CellToWorld(cellPos.AddZ(0)) + (grid.cellSize + grid.cellGap) * 0.5f);
 }