private void OnDisable()
 {
     if (globalMap != null)
     {
         globalMap.MapInterfaceDisabled();
     }
     UIExpeditionObserver.DisableObserver();
 }
Exemple #2
0
    private void OnDisable()
    {
        if (globalMap != null)
        {
            globalMap.MapInterfaceDisabled();
        }
        var g = Expedition.GetObserver().gameObject;

        if (g.activeSelf)
        {
            g.SetActive(false);
        }
    }