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

19 lines
258 B
C#
Raw Normal View History

2024-05-05 07:52:06 +00:00
using Godot;
namespace Rokojori
{
[GlobalClass]
public partial class OnReady : Node
{
[Export]
public RJAction action;
public override void _Ready()
{
RJLog.Log( "OnReady" );
Actions.Trigger( action );
}
}
}