protected override void OnDestroy() { Logger.LogDebug($"{nameof(NodeMarkupTool)}.{nameof(OnDestroy)}"); NodeMarkupButton.RemoveButton(); NodeMarkupPanel.RemovePanel(); base.OnDestroy(); }
protected override void OnDestroy() { Mod.Logger.Debug($"Destroy tool"); NodeMarkupPanel.RemovePanel(); ComponentPool.Clear(); base.OnDestroy(); }