Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ClearCustomization()

Clears all customization previously applied to the referenced node, removes any fill amount, and stops any looping animation.
Read time 1 minuteLast updated 10 days ago

Definition

public void ClearCustomization()

Remarks

Resets the referenced node's accent bar to its inactive state. This call removes any fill amount previously set through NodeReference.FillAmount and stops any looping animation started through GraphMotion.Play. If the current reference does not correspond to any node in the graph, any stored visual data for that node is removed and the call has no further effect. Throws ObjectDisposedException when you access this method after you call Context.Dispose on the context.
Remove every visual override previously applied to a node and resets the referenced node's accent bar to its inactive state.

Examples

NodeReference node = context.GetNodeReference(nodeID);node.ClearCustomization();