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

            textureUI?.Deactivate();
            textureUI = null;
        }
 internal override void PostSetupContent()
 {
     if (!Main.dedServ)
     {
         textureUI = new TextureUI(userInterface);
         textureUI.Activate();
         userInterface.SetState(textureUI);
     }
 }
Exemple #3
0
        public override void ClientInitialize()
        {
            Interface = new UserInterface();

            textureUI = new TextureUI(Interface);
            textureUI.Activate();

            Interface.SetState(textureUI);
        }