ドキュメント

Unity Engine

Unity Engine

IsDashed

Whether the reference wire is drawn with a dashed pattern.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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;