public void GiveStatusBonus(PlayerStats bonusStat) { myProperties.GiveBonus(bonusStat, playerLevel); if (networkLayer.isMine && playerControlled) { GameplayUI.instance.UpdateSidebarStats(myProperties); } }