private void Finish() { if (PhotonNetwork.IsMasterClient) { MainStateRpcRequester.Request(MainState.Result); } }
private void NextStage() { if (PhotonNetwork.IsMasterClient) { MainStateRpcRequester.Request(MainState.StageReady); } }
private void ChangeReadyStateRequest() => MainStateRpcRequester.Request(MainState.Ready);
private void ChangeStateError() => MainStateRpcRequester.Request(MainState.Error);
private void RequestResult(int time, int playerCorrectIndex, bool isCorrect) { StageResultRpcRequester.Request(StageEntity.StageCount, time, playerCorrectIndex, isCorrect); MainStateRpcRequester.Request(MainState.StageResult); }