ClearCustomization()
Clears the icon override previously applied to the referenced condition.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Method
- Namespace: Unity.GraphToolkit.Editor.GraphVisualization
- Assembly: UnityEditor
public void ClearCustomization()
Remarks
After this call, ConditionReference.Icon reads the condition's own icon again. Has no effect when the ConditionReference has no associated ConditionReference.Context, such as when it is . Throws ObjectDisposedException when you access this method after you call Context.Dispose on the context.
defaultExamples
ConditionReference condition = context.GetConditionReference(conditionID);condition.ClearCustomization();