rj-action-library/Runtime/Actions/OnReady.cs

19 lines
338 B
C#
Raw Normal View History

2024-05-05 07:52:06 +00:00
using Godot;
namespace Rokojori
{
2024-05-08 07:19:48 +00:00
[GlobalClass, Icon("res://Scripts/Rokojori/Rokojori-Action-Library/Icons/RJOnEvent.svg") ]
2024-05-05 07:52:06 +00:00
public partial class OnReady : Node
{
[Export]
public RJAction action;
public override void _Ready()
{
2024-05-12 17:03:20 +00:00
// RJLog.Log( "OnReady" );
2024-05-05 07:52:06 +00:00
Actions.Trigger( action );
}
}
}