SupaLidlGame/UI/TargetTracer.cs

21 lines
340 B
C#

using Godot;
public partial class TargetTracer : Node2D
{
private Line2D _line;
private float Intensity
{
get => SelfModulate.A;
set
{
SelfModulate = new Color(SelfModulate, value);
}
}
public override void _Ready()
{
_line = GetNode<Line2D>("Line2D");
}
}