/// <summary> /// マスの情報を更新する処理 /// </summary> void UpdateInfoMassCount() { int player1 = 0; int player2 = 0; massActionScript.PlayerMassCount(ref player1, ref player2, playerStatusScript.GetPlayerNumber()); uiManaerScript.UpdateMassCount(player1, player2); int turn = playerStatusScript.GetTurn(); if (playerStatusScript.GetPlayerNumber() == 1 && turn <= 0) { Debug.Log("ゲームが終わりました"); status = Status.Recv; return; } status = Status.None; playerStatusScript.SetIsTurn(true); uiManaerScript.UpdateInfoTurn(InformationUI.Status.MyTurn); }
public void PlayerMassCount(ref int p1, ref int p2, int playernum) { massActionScript.PlayerMassCount(ref p1, ref p2, playernum); }