Update template to latest RobustToolbox version.

This commit is contained in:
Vera Aguilera Puerto 2021-08-31 23:01:31 +02:00
parent a70054ac44
commit b417f4355e
4 changed files with 18 additions and 6 deletions

View file

@ -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>();