Example #1
0
    /// <summary>[SetInInspector] On info button click event </summary>
    public void OnHouseInfoButtonClick()
    {
        if (!(m_currentBuilding is IBuildingHouse))
        {
            Debug.LogWarning("Building is not a house.");
            return;
        }

        UI_ScreenSettlers.SShowSettlers(((IBuildingHouse)m_currentBuilding).GetSettlers());
    }
Example #2
0
 public void OnSettlersStatsClick()
 {
     UI_ScreenSettlers.SShowSettlers();
 }