Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IsDashed

Whether the reference wire is drawn with a dashed pattern.
Read time 1 minuteLast updated 6 days ago

Definition

public bool IsDashed { get; set; }

Remarks

Setting a new value overwrites any existing dash pattern overrides for that wire. The wire keeps the dashed pattern until you set this property back to
false
or call WireReference.ClearCustomization. Setting this property has no effect when the WireReference has no associated WireReference.Context, such as when it is
default
. Throws ObjectDisposedException when you access this method after you call Context.Dispose on the context.

Examples

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