OnViewDetached()
Called when the condition's row is detached from its UI panel.
Read time 1 minuteLast updated 14 days ago
Definition
- Type: Method
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
public virtual void OnViewDetached()
Remarks
Like ConditionView<T>.OnViewAttached, this can fire multiple times during the view's lifetime, and a matching ConditionView<T>.OnViewAttached may follow. Use this callback to release resources tied to panel presence, such as event subscriptions.