Dispose()
Releases this context and clears all associated visualization data.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: Unity.GraphToolkit.Editor.GraphVisualization
- Assembly: UnityEditor
public void Dispose()
Remarks
Unregisters this context from the Registry and clears any associated visualization data. Any subsequent calls after the first successful dispose are ignored.
Examples
Context context = Registry.CreateVisualizationContext(graphGuid);// ... use the context ...context.Dispose();