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.

ControlInputWidget.cs 644B

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