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

19 lines
261 B
C#

using Godot;
namespace Rokojori
{
[GlobalClass ]
public partial class ActionReference : RJAction
{
[Export]
public RJAction referencedAction;
public override void _OnTrigger()
{
Actions.Trigger( referencedAction );
}
}
}