full gamepad support

This commit is contained in:
Rendo 2025-07-28 18:03:26 +05:00
commit a57d79e84a
21 changed files with 213 additions and 46 deletions

View file

@ -0,0 +1,17 @@
using Godot;
using Newlon.Components;
using Newlon.Components.GUI.Seedpackets;
public partial class CYSResetButton : Button
{
public override void _Pressed()
{
foreach (Seedpacket packet in LevelGUIElements.Instance.SeedpacketsHotbar.GetChildren())
{
packet._Pressed();
packet.EmitSignal(Seedpacket.SignalName.Pressed);
}
GrabFocus();
}
}