2026-02-26 14:06:27 +00:00
|
|
|
|
|
|
|
|
using Godot;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace Rokojori;
|
|
|
|
|
|
|
|
|
|
[Tool]
|
|
|
|
|
[GlobalClass]
|
|
|
|
|
public partial class SetUIAppSettingsReady : Action
|
|
|
|
|
{
|
|
|
|
|
[Export]
|
|
|
|
|
public UIAppSettings uiAppSettings;
|
|
|
|
|
|
|
|
|
|
[Export]
|
|
|
|
|
public Action newReadyAction;
|
|
|
|
|
|
|
|
|
|
protected override void _OnTrigger()
|
|
|
|
|
{
|
|
|
|
|
if ( uiAppSettings == null )
|
|
|
|
|
{
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
uiAppSettings.onReady = newReadyAction;
|
2026-03-20 13:31:31 +00:00
|
|
|
uiAppSettings.SelectFirstPage();
|
2026-02-26 14:06:27 +00:00
|
|
|
}
|
|
|
|
|
}
|