Ejemplo n.º 1
0
 /// <summary>
 /// Call this at start of game or when the map changes to assign the HexMap
 /// </summary>
 public void Init(HexMap hexMap)
 {
     this.hexMap = hexMap;
     UpdatePlayerPositionData();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Call this at start of game or when the map changes to assign the HexMap
 /// </summary>
 public void Init(HexMap hexMap)
 {
     this.hexMap = hexMap;
     UpdateMousePositionData();
     plane = new Plane(Vector3.up, 0);
 }