Exemplo n.º 1
0
 public void updateStandings(CatBehaviour[] standings)
 {
     for (int i = 0; i < cats.Length; i++)
     {
         LeaderboardCatUI tempCatUI = null;
         if (catUI.TryGetValue(standings[i], out tempCatUI))
         {
             tempCatUI.UpdatePosition(positions[i]);
         }
     }
 }
Exemplo n.º 2
0
 public void updateStandings(CatBehaviour[] standings, int betPlacement, string ticketChange)
 {
     for (int i = 0; i < cats.Length; i++)
     {
         LeaderboardCatUI tempCatUI = null;
         if (catUI.TryGetValue(standings[i], out tempCatUI))
         {
             tempCatUI.UpdatePosition(positions[i]);
         }
     }
     betText.GetComponent <RectTransform>().localPosition = new Vector3(betText.GetComponent <RectTransform>().localPosition.x, positions[betPlacement].y);
     amountChanged.text = ticketChange;
 }