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

19 lines
338 B
C#

using Godot;
namespace Rokojori
{
[GlobalClass, Icon("res://Scripts/Rokojori/Rokojori-Action-Library/Icons/RJOnEvent.svg") ]
public partial class OnReady : Node
{
[Export]
public RJAction action;
public override void _Ready()
{
// RJLog.Log( "OnReady" );
Actions.Trigger( action );
}
}
}