Class ControlConnectionWidget
Inheritance
ControlConnectionWidget
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[Widget(typeof(ControlConnection))]
public sealed class ControlConnectionWidget : UnitConnectionWidget<ControlConnection>, IUnitConnectionWidget, IGraphElementWidget, IWidget, IDisposable
Constructors
ControlConnectionWidget(FlowCanvas, ControlConnection)
Declaration
public ControlConnectionWidget(FlowCanvas canvas, ControlConnection connection)
Parameters
Type | Name | Description |
---|---|---|
FlowCanvas | canvas | |
ControlConnection | connection |
Properties
color
Declaration
public override Color color { get; }
Property Value
Type | Description |
---|---|
Color |
Overrides
Unity.VisualScripting.UnitConnectionWidget<Unity.VisualScripting.ControlConnection>.color
colorIfActive
Declaration
protected override bool colorIfActive { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
Unity.VisualScripting.UnitConnectionWidget<Unity.VisualScripting.ControlConnection>.colorIfActive
showDroplets
Declaration
protected override bool showDroplets { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
Unity.VisualScripting.UnitConnectionWidget<Unity.VisualScripting.ControlConnection>.showDroplets
Methods
DrawDroplet(Rect)
Declaration
protected override void DrawDroplet(Rect position)
Parameters
Type | Name | Description |
---|---|---|
Rect | position |
Overrides
Unity.VisualScripting.UnitConnectionWidget<Unity.VisualScripting.ControlConnection>.DrawDroplet(UnityEngine.Rect)
GetDropletSize()
Declaration
protected override Vector2 GetDropletSize()
Returns
Type | Description |
---|---|
Vector2 |
Overrides
Unity.VisualScripting.UnitConnectionWidget<Unity.VisualScripting.ControlConnection>.GetDropletSize()