mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:25:35 +00:00
16 lines
No EOL
328 B
C#
16 lines
No EOL
328 B
C#
using Cirno.Scripts.Interactables;
|
|
using Godot;
|
|
|
|
namespace Cirno.Scripts.UI;
|
|
|
|
public partial class Selector3D : Control
|
|
{
|
|
public IInteractable Target { get; set; }
|
|
|
|
public override void _Process(double delta)
|
|
{
|
|
if (Target is null) return;
|
|
|
|
this.GlobalPosition = Target.GetScreenPosition();
|
|
}
|
|
} |