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); }
public Shortcut_CellBrushRadius(CellBrush cellBrush, KeyCode keyCode) { _cellBrush = cellBrush; _keyCode = keyCode; }