public void Deactivate() { if (root != null) { NUIApplication.GetDefaultWindow().Remove(root); canvasView.Dispose(); root.Dispose(); } }
private void OnDisable() { model.Dispose(); canvasView.Dispose(); toolView.Dispose(); AssetDatabase.SaveAssets(); AssetDatabase.Refresh(); }