9092858a58
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
29 lines
675 B
C#
29 lines
675 B
C#
using UnityEngine;
|
|
|
|
namespace Unity.VisualScripting
|
|
{
|
|
[Widget(typeof(InvalidConnection))]
|
|
public sealed class InvalidConnectionWidget : UnitConnectionWidget<InvalidConnection>
|
|
{
|
|
public InvalidConnectionWidget(FlowCanvas canvas, InvalidConnection connection) : base(canvas, connection) { }
|
|
|
|
|
|
#region Drawing
|
|
|
|
public override Color color => UnitConnectionStyles.invalidColor;
|
|
|
|
#endregion
|
|
|
|
|
|
#region Droplets
|
|
|
|
protected override bool showDroplets => false;
|
|
|
|
protected override Vector2 GetDropletSize() => Vector2.zero;
|
|
|
|
protected override void DrawDroplet(Rect position) { }
|
|
|
|
#endregion
|
|
}
|
|
}
|