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

19 lines
370 B
C#

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