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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|