Maze / Library /PackageCache /com.unity.visualscripting@1.8.0 /Editor /VisualScripting.Flow /Ports /ControlOutputWidget.cs
| using UnityEngine; | |
| namespace Unity.VisualScripting | |
| { | |
| [] | |
| public class ControlOutputWidget : UnitOutputPortWidget<ControlOutput> | |
| { | |
| public ControlOutputWidget(FlowCanvas canvas, ControlOutput port) : base(canvas, port) { } | |
| protected override Texture handleTextureConnected => BoltFlow.Icons.controlPortConnected?[12]; | |
| protected override Texture handleTextureUnconnected => BoltFlow.Icons.controlPortUnconnected?[12]; | |
| protected override bool colorIfActive => !BoltFlow.Configuration.animateControlConnections || !BoltFlow.Configuration.animateValueConnections; | |
| } | |
| } | |