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

19 lines
261 B
C#
Raw Permalink Normal View History

2024-05-19 15:59:41 +00:00
using Godot;
namespace Rokojori
{
[GlobalClass ]
public partial class ActionReference : RJAction
{
[Export]
public RJAction referencedAction;
public override void _OnTrigger()
{
Actions.Trigger( referencedAction );
}
}
}