示例#1
0
文件: TBM.cs 项目: HellGoesOn/TBM
 public override void Unload()
 {
     TimeStopManagement.TimeStopImmuneNPCs.Clear();
     StandManager.Unload();
     TBMInput.Unload();
     TBMTextures.Unload();
     instance    = null;
     Laugicality = null;
 }
示例#2
0
文件: TBM.cs 项目: HellGoesOn/TBM
 public override void Load()
 {
     Laugicality = ModLoader.GetMod("Laugicality");
     if (!Main.dedServ)
     {
         _staminaUIState = new StaminaUIState();
         _staminaUIState.Activate();
         StaminaUserInterface = new UserInterface();
         StaminaUserInterface.SetState(_staminaUIState);
         AddEquipTexture(null, EquipType.Head, "P4Cap", "TBM/Items/Vanity/JotaroCapP5_Head");
         AddEquipTexture(null, EquipType.Head, "P6Cap", "TBM/Items/Vanity/JotaroCapP6_Head");
         StandManager.Initalize();
         TBMInput.Load(this);
         TBMTextures.Load(this);
     }
     TimeStopManagement.Initialize();
     instance = this;
 }