public override void ClientTerminate()
        {
            Interface = null;

            playerLayerUI.Deactivate();
            playerLayerUI = null;
        }
Beispiel #2
0
 internal override void PostSetupContent()
 {
     if (!Main.dedServ)
     {
         playerLayerUI = new PlayerLayerUI(userInterface);
         playerLayerUI.Activate();
         userInterface.SetState(playerLayerUI);
     }
 }
        public override void ClientInitialize()
        {
            Interface = new UserInterface();

            playerLayerUI = new PlayerLayerUI(Interface);
            playerLayerUI.Activate();

            Interface.SetState(playerLayerUI);
        }