private async void ShowRanking() { UiController.Instance.LoadingBarEnable(true); var userList = await NetworkProvider.GetRanking(); UiController.Instance.LoadingBarEnable(false); if (userList.IsError) { UiController.Instance.ShowInfo(userList.ErrorMessage); return; } userList.Value.ForEach(user => { var item = Instantiate(rankUserItemPrefab, scoreListHolder.transform); item.SetValue(user); listItems.Add(item); }); scorePanel.SetActive(true); }