protected override void OnDestroy() { Mod.Logger.Debug($"Destroy tool"); NodeMarkupPanel.RemovePanel(); ComponentPool.Clear(); base.OnDestroy(); }
public sealed override void OnLevelUnloading() { SingletonMod <TypeMod> .Instance.Logger.Debug($"On level unloading"); ComponentPool.Clear(); OnUnload(); }
protected override void OnDestroy() { Logger.LogDebug($"{nameof(NodeMarkupTool)}.{nameof(OnDestroy)}"); NodeMarkupButton.RemoveButton(); NodeMarkupPanel.RemovePanel(); ComponentPool.Clear(); base.OnDestroy(); }