Exemple #1
0
 public override void Unload()
 {
     Instance              = null;
     TileFileManager       = null;
     ToolBarServiceManager = null;
     GUIManager.Unload();
     GUIManager = null;
     ResourcesLoader.Unload();
 }
Exemple #2
0
        public override void Load()
        {
            if (!Main.dedServ)
            {
                ResourcesLoader.LoadAllTextures();


                ToolBarServiceManager = new ToolBarServiceManager();
                // GUI管理器
                TileFileManager = new TileFileManager();
                GUIManager      = new GUIManager(this);
                TwistedStrength = 0;
            }
        }