public void Unload() { ObjectEditor.RemoveContainer(DrawableContainer); foreach (var tex in Textures) { tex?.DisposeRenderable(); } Textures.Clear(); }
public void Unload() { ObjectEditor.RemoveContainer(DrawableContainer); foreach (var node in Nodes) { if (PluginRuntime.bchTexContainers.Contains(node)) { PluginRuntime.bchTexContainers.Remove((BCHGroupNode)node); } } foreach (var tex in Textures) { tex?.DisposeRenderable(); } Textures.Clear(); }
public void Unload() { ObjectEditor.RemoveContainer(DrawableContainer); }