Singularity/Library/PackageCache/com.unity.visualscripting@1.../Editor/VisualScripting.Flow/Ports/InvalidInputWidget.cs

19 lines
603 B
C#
Raw Normal View History

2024-05-06 14:45:45 -04:00
using UnityEngine;
namespace Unity.VisualScripting
{
[Widget(typeof(InvalidInput))]
public class InvalidInputWidget : UnitInputPortWidget<InvalidInput>
{
public InvalidInputWidget(FlowCanvas canvas, InvalidInput 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;
}
}