/// <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(); }
/// <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); }