private void CreateGame() { game = new ModdableChessGame(); game.LoadFirstScene(); this.gameObject.AddComponent <Mods.TOCLoader>(); db = game.Components.Get <GameDatabase>((int)ComponentKeys.GameDatabase); server = game.Components.Get <ServerInformation>((int)ComponentKeys.ServerInformation); local = game.Components.Get <LocalPlayerInformation>((int)ComponentKeys.LocalPlayerInformation); lobby = game.Components.Get <LobbyChoices>((int)ComponentKeys.LobbyChoices); }