This commit is contained in:
moonheart08 2023-05-11 07:00:02 -05:00
parent 0cbb4a7c88
commit dbbef48806
2 changed files with 2 additions and 4 deletions

View file

@ -47,14 +47,12 @@ public sealed class EntryPoint : GameClient
var stateManager = IoCManager.Resolve<IStateManager>();
// DEVNOTE: It's recommended to look at how this works! It's for debug purposes and you probably want something prettier for the final game.
// Additionally, state manager is the primary way you'll be changing between UIScreen instances.
stateManager.RequestStateChange<DebugBuiltinConnectionScreenState>();
// DEVNOTE: Further setup...
//var client = IoCManager.Resolve<IBaseClient>();
// DEVNOTE: You might want a main menu to connect to a server, or start a singleplayer game.
// Be sure to check out StateManager for this! Below you'll find examples to start a game.
// Optionally, singleplayer also works!
// client.StartSinglePlayer();
}

View file

@ -11,7 +11,7 @@ internal static class Program
/*
// DEVNOTE: If you want to use RobustToolbox as a library, use the method below instead.
// Keep in mind, this will make your game ineligible from appearing on the SS14 hub, specially if you
// Keep in mind, this will make your game ineligible from appearing on hubs/unmodified launchers, specially if you
// disable sandboxing.
ContentStart.StartLibrary(args, new GameControllerOptions()
{