bool isAbleToPass = false; //パスの許可 private void Awake() { //ゲームオブジェクトの設定 { yh = yh_.GetComponent <YourHand>(); oh = oh_.GetComponent <OpponentHand>(); mf = mf_.GetComponent <FieldBase>(); of = of_.GetComponent <FieldBase>(); sf = sf_.GetComponent <FieldBase>(); mc = mc_.GetComponent <CharacterBase>(); oc = oc_.GetComponent <CharacterBase>(); cw = cw_.GetComponent <CardWindow>(); pw = pw_.GetComponent <PlayerWindow>(); sv = sv_.GetComponent <SubView>(); log = log_.GetComponent <LogView>(); isReady = false; } //デッキを作る { var g = new List <int> { 2, 2, 2, 2, 3, 3, 4, 4, 4, 4, 5, 5, 5, 6, 6, 7, 7, 7, 7, 8, 8, 8, 9, 9, 10, 10, 11, 11, 11, 11, 12, 12, 12, 13, 13, 13, 14, 14, 14, 15 }; var b = new List <int> { 3, 3, 15, 15, 15, }; deck = new Deck() { //自機の設定 character = 0000001, grimoir = g, bookmark = b }; } }
private void refreshOpponentLane(Lane lane) { if (lane.OpponentCard == null) { PlayingCard card = AI.pickCard(OpponentHand.GetCards()); OpponentHand.selectCard(card); GameObject cardGO = OpponentHand.GetSelectedCard(); if (lane.setCard(cardGO, Lane.Slot.OPPONENT)) { ArenaManager.placeCard(cardGO, lane.OpponentSlot); OpponentHand.RemoveCard(cardGO); } } }