rokojori_action_library/Runtime/Actions/UI/SetLabelText.cs

23 lines
302 B
C#
Raw Normal View History

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