예제 #1
0
        public override void ClientTerminate()
        {
            Interface = null;

            interfaceLayerUI?.Deactivate();
            interfaceLayerUI = null;
        }
예제 #2
0
        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);
     }
 }