public void UpdateButtons(Vector3Int tilePos) { // get currently clicked on tile EnvironmentTile tile; GameTiles.instance.environmentTiles.TryGetValue(tilePos, out tile); // update buttons btnListControl.UpdateButtons(tile); }
public void UpdateButtons(Vector3Int tilePos) { // get currently clicked on tile EnvironmentTile tile; GameTiles.instance.environmentTiles.TryGetValue(tilePos, out tile); // update buttons btnListControl.UpdateButtons(tile); }