private void playerPass() { AuctionHandler auction = State.getAuctionHandler(); App app = UnityEngine.Object.FindObjectOfType <App>(); int playerIndex = app.GetHumanIndex(); auction.passOnBid(playerIndex); // Nation player = State.getNations()[playerIndex]; playerTurn = false; }
private void playerPass() { Debug.Log("Player Passes >>>>>>>>>>>>>>>>>>>>>>>>>>"); AuctionHandler auction = State.getAuctionHandler(); App app = UnityEngine.Object.FindObjectOfType <App>(); int playerIndex = app.GetHumanIndex(); Text bidText = bid.GetComponentInChildren <Text>(); auction.tempHumanBidLevel = auction.getPlayerBid(playerIndex); auction.passOnBid(playerIndex); auction.incrementBiddingPosition(); nextAuctionPhase(); // Nation player = State.getNations()[playerIndex]; }