static void DrawHandles(CellComponent cell, GizmoType gizmoType) { GUIStyle style = new GUIStyle(); style.normal.textColor = Color.white; Handles.Label(cell.transform.position, $"[{cell.Position.x},{cell.Position.y}]", style); }
private void TryToBurn(CellComponent cell) { if (_processedCells.Contains(cell)) { return; } var isBurnt = cell.Burn(); _processedCells.Add(cell); if (!isBurnt) { _leftToBurnCell.Add(cell); } }