Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ClearCustomization()

Clears all customization previously applied to the referenced wire.
Read time 1 minuteLast updated 7 days ago

Definition

public void ClearCustomization()

Remarks

If the wire does not correspond to any connection in the graph, any stored visual data for that wire 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 wire and restore the default drawing in the graph canvas.

Examples

WireReference wire = context.GetWireReference(outputPortID, inputPortID);wire.ClearCustomization();