mirror of
https://github.com/space-wizards/RobustToolboxTemplate.git
synced 2026-10-24 06:12:50 -04:00
Update template to latest RobustToolbox version.
This commit is contained in:
parent
a70054ac44
commit
b417f4355e
4 changed files with 18 additions and 6 deletions
|
|
@ -1,4 +1,5 @@
|
|||
using Robust.Client;
|
||||
using Robust.Client.Graphics;
|
||||
using Robust.Shared.ContentPack;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.IoC;
|
||||
|
|
@ -31,12 +32,17 @@ namespace Content.Client
|
|||
|
||||
IoCManager.BuildGraph();
|
||||
|
||||
factory.GenerateNetIds();
|
||||
|
||||
// DEVNOTE: This is generally where you'll be setting up the IoCManager further.
|
||||
}
|
||||
|
||||
public override void PostInit()
|
||||
{
|
||||
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;
|
||||
|
||||
// DEVNOTE: Further setup...
|
||||
var client = IoCManager.Resolve<IBaseClient>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue