rokojori_action_library/Runtime/Actions/UI/SetLabelText.cs

22 lines
275 B
C#
Raw Normal View History

2026-02-06 08:59:59 +00:00
using Godot;
namespace Rokojori
{
[Tool]
[GlobalClass ]
public partial class SetLabelText : Action
{
[Export]
public Label3D label;
[Export]
public string text;
protected override void _OnTrigger()
{
label.Text = text;
}
}
}