コード例 #1
0
 private void Start()
 {
     _netService = new MultiPlayerNetService(_mainThreadActions);
     _netService.OnStartGame.Subscribe(StartMultiplayerGame).DisposeBy(this);
     _appData.OnAppClose.Subscribe(_netService.Close).DisposeBy(this);
     _menu.Bind(_gameData, _startSingleGame, _appData, _netService);
     _gameView.gameObject.SetActive(false);
 }