public void GoNextBossOnClick()//初始化下一个对战场景 { DestroyCard(); Choosecards.gameObject.SetActive(false); flag = false; boss.Re_SetBoss(); hero.Re_SetHero(); feeshow.SetFee(4); cardManage.CopyGroups(); gameControll.SendCards(4); }
public IEnumerator InitRound(int count) //玩家回合开始 { UseLand.gameObject.SetActive(false); //发牌时不可以出牌 hero.SetArmor(); //重置英雄属性 hero.SetPower(); feeshow.SetFee(4); RoundEndButton.enabled = true; for (int i = 0; i < count; i++) { SendCard(); yield return(new WaitForSeconds(0.7f)); } UseLand.gameObject.SetActive(true); }