Example #1
0
 private void OnMouseEnter()
 {
     if (UIPopAction.Showing)
     {
         return;
     }
     UITileSelector.ShowFor(transform);
     UITileStatus.ShowFor(tile);
     UIPopViewer.ShowPop(tile.GetPlayerPopulation(Match.ActivePlayer));
     HoverBrick = this;
 }
Example #2
0
    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;
    }