Beispiel #1
0
 public override void Cleanup()
 {
     WorldVisualFeedbacks.instance.PoolAllOrderFeedbacks();
     World.CleanZonesContainer();
     World.CleanZoneLinks();
     World.CleanCmders();
     World.CleanMCaravans();
     TransformTweener.instance.StopAllTweens();
     World.ToggleWorldDisplay(false);
     World.instance.garrDescOnHoverScript.enabled = false;
     StopAllPhaseMans();
     GameInterface.instance.DisableAndStoreAllOpenOverlayPanels();
     GameController.instance.facMatsHandler.PurgeFactionColorsDict();
     TexLoader.PurgeTexDict();
     curPlayingFaction = null;
 }
 public override void Cleanup()
 {
     if (World.instance.zoneLinkerScript.enabled)
     {
         World.instance.zoneLinkerScript.DoneLinking();
     }
     if (World.instance.zoneMoverScript.enabled)
     {
         World.instance.zoneMoverScript.DoneMoving();
     }
     World.CleanZonesContainer();
     World.CleanZoneLinks();
     World.CleanMCaravans();
     World.ToggleWorldDisplay(false);
     World.instance.zoneEditOnClickScript.enabled = false;
     World.instance.garrDescOnHoverScript.enabled = false;
     tempSaveOptionsPanel.gameObject.SetActive(false);
     GameController.instance.facMatsHandler.PurgeFactionColorsDict();
     TexLoader.PurgeTexDict();
 }