Пример #1
0
 protected override void OnDestroy()
 {
     Mod.Logger.Debug($"Destroy tool");
     NodeMarkupPanel.RemovePanel();
     ComponentPool.Clear();
     base.OnDestroy();
 }
Пример #2
0
        public sealed override void OnLevelUnloading()
        {
            SingletonMod <TypeMod> .Instance.Logger.Debug($"On level unloading");

            ComponentPool.Clear();
            OnUnload();
        }
Пример #3
0
 protected override void OnDestroy()
 {
     Logger.LogDebug($"{nameof(NodeMarkupTool)}.{nameof(OnDestroy)}");
     NodeMarkupButton.RemoveButton();
     NodeMarkupPanel.RemovePanel();
     ComponentPool.Clear();
     base.OnDestroy();
 }