IsDashed
Whether the reference wire is drawn with a dashed pattern.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
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;