mirror of
https://github.com/space-wizards/RobustToolboxTemplate.git
synced 2026-02-10 16:24:49 -05:00
Update RT to 268.0.0
This commit is contained in:
parent
6347ddffb8
commit
ca2bb9dcff
14 changed files with 44 additions and 77 deletions
|
|
@ -15,8 +15,8 @@ public sealed class EntryPoint : GameClient
|
|||
{
|
||||
public override void Init()
|
||||
{
|
||||
var factory = IoCManager.Resolve<IComponentFactory>();
|
||||
var prototypes = IoCManager.Resolve<IPrototypeManager>();
|
||||
var factory = Dependencies.Resolve<IComponentFactory>();
|
||||
var prototypes = Dependencies.Resolve<IPrototypeManager>();
|
||||
|
||||
factory.DoAutoRegistrations();
|
||||
|
||||
|
|
@ -44,9 +44,9 @@ public sealed class EntryPoint : GameClient
|
|||
base.PostInit();
|
||||
|
||||
// DEVNOTE: The line below will disable lighting, so you can see in-game sprites without the need for lights
|
||||
IoCManager.Resolve<ILightManager>().Enabled = false;
|
||||
Dependencies.Resolve<ILightManager>().Enabled = false;
|
||||
|
||||
var stateManager = IoCManager.Resolve<IStateManager>();
|
||||
var stateManager = Dependencies.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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue