// ----------[시작 하기 버튼]을 누른 경우-------------------- public void SendGameStart() { // 방장인 경우 if (PhotonNetwork.IsMasterClient == true) { // 게임 데이터 최종 세팅 roomCtrl.SetPlayData(); // 게임 데이터가 모두 입력됐는지 확인 bool isGameDataPrepared = photonManager.CheckGameData(); if (isGameDataPrepared == true) { // 모두 실행 photonView.RPC("ClickPlayButton", RpcTarget.AllBuffered); } else { ConvertErrorPanel(); } } }