|
|
|
using Godot;
|
|
|
|
|
|
using Rokojori.Extensions;
|
|
namespace Rokojori
|
|
{
|
|
[Tool]
|
|
[GlobalClass ]
|
|
public partial class SetLabelText : Action
|
|
{
|
|
[Export]
|
|
public Label3D label;
|
|
|
|
[Export]
|
|
public string text;
|
|
|
|
protected override void _OnTrigger()
|
|
{
|
|
label.Text = text;
|
|
}
|
|
}
|
|
} |