暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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. }