17 lines
361 B
C#
17 lines
361 B
C#
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();
|
|
}
|
|
|
|
}
|