ドキュメント

Unity Engine

Unity Engine

ClearCustomization()

Clears all customization previously applied to the referenced wire.
読み終わるまでの所要時間 1 分最終更新 2ヶ月前

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();