Skip to content

Instantly share code, notes, and snippets.

@alexson
Created January 13, 2022 09:19
Show Gist options
  • Save alexson/cdb65344669c467ba6f49bb1e9712cae to your computer and use it in GitHub Desktop.
Save alexson/cdb65344669c467ba6f49bb1e9712cae to your computer and use it in GitHub Desktop.
//Init()
//Reset Score UI
foreach (IPeer peer in _SyncStateTrackingList._peerTrackerDict.Keys)
{
ScoreUI scoreUI = _SyncStateTrackingList._peerTrackerDict[peer].GetComponentInChildren<ScoreUI>();
scoreUI.scoreText.text = "0";
}
_peerScoreList.Clear();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment