19 lines
609 B
C#
19 lines
609 B
C#
|
using UnityEngine;
|
||
|
|
||
|
namespace Unity.VisualScripting
|
||
|
{
|
||
|
[Widget(typeof(InvalidOutput))]
|
||
|
public class InvalidOutputWidget : UnitOutputPortWidget<InvalidOutput>
|
||
|
{
|
||
|
public InvalidOutputWidget(FlowCanvas canvas, InvalidOutput port) : base(canvas, port) { }
|
||
|
|
||
|
protected override Texture handleTextureConnected => BoltFlow.Icons.invalidPortConnected?[12];
|
||
|
|
||
|
protected override Texture handleTextureUnconnected => BoltFlow.Icons.invalidPortUnconnected?[12];
|
||
|
|
||
|
protected override bool colorIfActive => false;
|
||
|
|
||
|
protected override bool canStartConnection => false;
|
||
|
}
|
||
|
}
|