void UpdateBar(PlayerPercentBar _Bar, Player _Player, float _MaxPercent, bool _Last = false) { if (_Player == null || m_RegisteredPlayers.Contains(_Player)) { _Bar.Hide(); } else { m_RegisteredPlayers.Add(_Player); _Bar.UpdateBar(_Player.m_Rank + 1, _Player, _Last, GetRelativePercent(_Player.Score, _MaxPercent)); } }
void UpdateBar(PlayerPercentBar _Bar, int _Ranking, float _MaxPercent, bool _Last = false) { UpdateBar(_Bar, m_BattleRoyaleManager.GetPlayer(_Ranking), _MaxPercent, _Last); }