IsDashed
Whether the referenced transition 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 override for that transition. The transition keeps the dashed pattern until you set this property back to or call TransitionReference.ClearCustomization. On a state-to-state transition, this property dashes the transition's wire. On a self transition, this property dashes the transition arrow's border instead. Getting or setting this property has no effect, and getting it returns , when the TransitionReference has no associated TransitionReference.Context, such as when it is . Throws ObjectDisposedException when you access this property after you call Context.Dispose on the context.
falsefalsedefaultExamples
TransitionReference transitionRef = context.GetTransitionReference(transitionID);transitionRef.IsDashed = true;