newlon/scripts/gui/choose_your_seeds/LevelRunButton.cs
2025-07-16 20:17:58 +05:00

13 lines
306 B
C#

using Godot;
using Newlon.Components.Level;
namespace Newlon.Components.GUI;
public partial class LevelRunButton : Button
{
[Export] private AnimationPlayer _player;
public override void _Pressed()
{
RuntimeLevelData.Instance.SetLevelState(RuntimeLevelData.LevelStates.Pregame);
}
}