13 lines
306 B
C#
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);
|
|
}
|
|
}
|