IsDashed
Whether the reference wire is drawn with a dashed pattern.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Property
- Namespace: Unity.GraphToolkit.Editor.GraphVisualization
- Assembly: UnityEditor
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 or call WireReference.ClearCustomization. Setting this property has no effect when the WireReference has no associated WireReference.Context, such as when it is . Throws ObjectDisposedException when you access this method after you call Context.Dispose on the context.
falsedefaultExamples
WireReference wire = context.GetWireReference(outputPortID, inputPortID);wire.IsDashed = true;