// lazyyyyyy protected override void OnSwitchedLayerTo(TilemapEditor.Layers layer) { if (layer == TilemapEditor.Layers.Foreground) { radiusIndicator.sortingLayerName = "Foreground"; } else if (layer == TilemapEditor.Layers.Background) { radiusIndicator.sortingLayerName = "Background"; } else if (layer == TilemapEditor.Layers.Damage) { radiusIndicator.sortingLayerName = "Water"; } }
} // cause they can get selected/deselected not only via clicking protected virtual void OnSwitchedLayerTo(TilemapEditor.Layers layer) { }