rokojori_action_library/Runtime/UI/UIAppSettings/SetUIAppSettingsReady.cs

27 lines
359 B
C#
Raw Normal View History

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