Exemplo n.º 1
0
 public override void Unload()
 {
     TimeStopManagement.TimeStopImmuneNPCs.Clear();
     StandManager.Unload();
     TBMInput.Unload();
     TBMTextures.Unload();
     instance    = null;
     Laugicality = null;
 }
Exemplo n.º 2
0
 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;
 }