Example #1
0
 public void ContextTile(TileScript tile)
 {
     if (selectedSprite != null)
     {
         tile.AddImage(selectedSprite.GetComponent <Image>().sprite);
     }
     else
     {
         tile.ClearNested();
     }
 }