mirror of
https://github.com/space-wizards/RobustToolboxTemplate.git
synced 2026-02-10 16:24:49 -05:00
awa
This commit is contained in:
parent
0cbb4a7c88
commit
dbbef48806
2 changed files with 2 additions and 4 deletions
|
|
@ -47,13 +47,11 @@ 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();
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue