Example #1
0
    public void GiveStatusBonus(PlayerStats bonusStat)
    {
        myProperties.GiveBonus(bonusStat, playerLevel);

        if (networkLayer.isMine && playerControlled)
        {
            GameplayUI.instance.UpdateSidebarStats(myProperties);
        }
    }