Пример #1
0
        public override void ClientTerminate()
        {
            Interface = null;

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

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

            Interface.SetState(textureUI);
        }