示例#1
0
 public void Highlight(Tile hightlightTile)
 {
     if (!isSelected)
     {
         HighlightTilemap.SetTile(LocalPlace, hightlightTile);
     }
 }
示例#2
0
 public void Dehighlight()
 {
     if (!isSelected)
     {
         HighlightTilemap.SetTile(LocalPlace, null);
     }
 }
示例#3
0
 public void Select(Tile selectedTile)
 {
     isSelected = true;
     HighlightTilemap.SetTile(LocalPlace, selectedTile);
 }
示例#4
0
 public void Deselect()
 {
     isSelected = false;
     HighlightTilemap.SetTile(LocalPlace, null);
 }