public override void Unload() { Instance = null; TileFileManager = null; ToolBarServiceManager = null; GUIManager.Unload(); GUIManager = null; ResourcesLoader.Unload(); }
public override void Load() { if (!Main.dedServ) { ResourcesLoader.LoadAllTextures(); ToolBarServiceManager = new ToolBarServiceManager(); // GUI管理器 TileFileManager = new TileFileManager(); GUIManager = new GUIManager(this); TwistedStrength = 0; } }