No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ControlOutputWidget.cs 642B

12345678910111213141516
  1. using UnityEngine;
  2. namespace Unity.VisualScripting
  3. {
  4. [Widget(typeof(ControlOutput))]
  5. public class ControlOutputWidget : UnitOutputPortWidget<ControlOutput>
  6. {
  7. public ControlOutputWidget(FlowCanvas canvas, ControlOutput port) : base(canvas, port) { }
  8. protected override Texture handleTextureConnected => BoltFlow.Icons.controlPortConnected?[12];
  9. protected override Texture handleTextureUnconnected => BoltFlow.Icons.controlPortUnconnected?[12];
  10. protected override bool colorIfActive => !BoltFlow.Configuration.animateControlConnections || !BoltFlow.Configuration.animateValueConnections;
  11. }
  12. }