コード例 #1
0
        private void StartGame(Player player)
        {
            GameTableLocation location = null;

            if (UserDefaults.GameRoomMode)
            {
                location = this.proximityManager.ClosestLocation;
            }

            var gameSession = new NetworkSession(player, true, location, this.myself);

            this.Delegate?.OnGameStarted(this, gameSession);
            this.SetupOverlayVC();
        }
コード例 #2
0
 public void LocationChanged(ProximityManager manager, GameTableLocation location)
 {
     this.gameBrowser?.Refresh();
 }