Exemple #1
0
 public static void DestroyMovementUI()
 {
     UnsubscribeToHoverTile();
     RouteLine.DestroyMoveLine();
     MoveGridLine.DestroyMoveGrid();
     CoverIcons.DestroyAll();
 }
Exemple #2
0
        public static void DrawMovementUI(Unit unit)
        {
            _currentUnit = unit;
            var moveTiles = MoveGrid.MoveGridTiles(unit.GetCurrentMapTile(), unit.movePoints);

            MoveGridLine.DrawMoveGrid(moveTiles);
            SubscribeToHoverTile();
        }