/// <summary> /// 交出出牌权 /// </summary> public void Waiver() { if(this._rightToPlay == RightToPlay.enemy) { this._rightToPlay = RightToPlay.mine; fightMindCard.MineGetWaiver(); WaiverText.text = "我方出牌"; return; } this._rightToPlay = RightToPlay.enemy; if(this.enemyAction!= null) { this.enemyAction(); WaiverText.text = "敌方出牌"; } return; }
/// <summary> /// 交出出牌权 /// </summary> public void Waiver() { if (this._rightToPlay == RightToPlay.enemy) { this._rightToPlay = RightToPlay.mine; fightMindCard.MineGetWaiver(); WaiverText.text = "我方出牌"; return; } this._rightToPlay = RightToPlay.enemy; if (this.enemyAction != null) { this.enemyAction(); WaiverText.text = "敌方出牌"; } return; }