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(); } }