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

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