Ejemplo n.º 1
0
 // 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";
     }
 }
Ejemplo n.º 2
0
    }                                         // cause they can get selected/deselected not only via clicking

    protected virtual void OnSwitchedLayerTo(TilemapEditor.Layers layer)
    {
    }