Esempio n. 1
0
 public void PlayerAbilitiesSetUp(PlayerSetup playerSetup)
 {
     ProgressBar[] progressBars = GameObject.FindObjectsOfType <ProgressBar>();
     player = playerSetup.playerNum;
     for (var i = 0; i < 4; i++)
     {
         if (progressBars[i].player == player)
         {
             progressBar = progressBars[i];
         }
     }
 }
Esempio n. 2
0
 public void PlayerAbilitiesSetUp(PlayerSetup playerSetup)
 {
     ProgressBar[] progressBars = GameObject.FindObjectsOfType<ProgressBar>();
     player = playerSetup.playerNum;
     for (var i = 0; i < 4; i++)
     {
         if (progressBars[i].player == player)
         {
             progressBar = progressBars[i];
         }
     }
 }