3D Switches

This commit is contained in:
Marco 2025-06-13 17:46:44 +02:00
commit cb60226ced
20 changed files with 267 additions and 14 deletions

View file

@ -1,6 +1,16 @@
namespace Cirno.Scripts.UI;
using Cirno.Scripts.Interactables;
using Godot;
public partial class Selector3D
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();
}
}