Esempio n. 1
0
        private void CreateBrush()
        {
            if (_currentCellBrush != null)
            {
                Debug.LogWarningFormat("Map Cells : Can't create brush because it already exists.");
                return;
            }

            MapCells mapCells = GetFirstMapCells();

            _currentCellBrush = new CellBrush(mapCells, CellType.Walkable);
        }
Esempio n. 2
0
 public Shortcut_CellBrushRadius(CellBrush cellBrush, KeyCode keyCode)
 {
     _cellBrush = cellBrush;
     _keyCode   = keyCode;
 }