using System; using Godot; public class RadialMenu : Node2D { [Export] public int InnerRadius { get; set; } = 32; [Export] public int OuterRadius { get; set; } = 64; [Export] public int MinElements { get; set; } = 8; [Export] public float Separation { get; set; } = 2F; public Cursor Cursor { get; private set; } public Label ActiveName { get; private set; } private float _startAngle; private Node2D _selected; public override void _Ready() { _startAngle = (-Mathf.Tau / 4) - (Mathf.Tau / MinElements / 2); Cursor = this.GetClient()?.Cursor; ActiveName = GetNode