public override void ClientInitialize() { Interface = new UserInterface(); interfaceLayerUI = new InterfaceLayerUI(Interface); interfaceLayerUI.Activate(); Interface.SetState(interfaceLayerUI); }
internal override void PostSetupContent() { if (!Main.dedServ) { interfaceLayerUI = new InterfaceLayerUI(userInterface); interfaceLayerUI.Activate(); userInterface.SetState(interfaceLayerUI); } }