コード例 #1
0
 private void OnDrawGizmos()
 {
     foreach (var i in data.GetHexPoints())
     {
         var cell     = new Vector3Int(i.q, i.r, 0);
         var position = tileMap.CellToWorld(cell);
         Gizmos.DrawWireSphere(position, 0.93f);
     }
 }
コード例 #2
0
 public BoardManipulationOddR(BoardData dataShape)
 {
     _hexPoints = dataShape.GetHexPoints();
 }