private void OnMouseEnter() { if (UIPopAction.Showing) { return; } UITileSelector.ShowFor(transform); UITileStatus.ShowFor(tile); UIPopViewer.ShowPop(tile.GetPlayerPopulation(Match.ActivePlayer)); HoverBrick = this; }
public static void ShowFor(Tile tile) { var i = instance; UITileStatus.ShowFor(tile); i._view.SetActive(true); i._editingTile = tile; i._editingPop = tile.GetPlayerPopulation(Match.ActivePlayer); UIPopViewer.ShowPop(i._editingPop); i.MaxOut(); _showing = true; }