コード例 #1
0
 public void BanHeroCheck()
 {
     if (activeTeam == "Player")
     {
         if (myChosenHero == "none")
         {
             StartCoroutine(BanHeroCheckWait());
         }
         else
         {
             cm.PlayerBanChosen();
             cm.ActivateFullMiddlePic();
             cm.DeactivateClassButtons();
             HeroSelectScript.chosenHero = "none";
             StartCoroutine(BanPicPauseAndDeactivate());
         }
     }
     else
     {
         EnemyBanCompCheck();
     }
 }