✨ Added VariableGetter functionality and some Variable setting components. Also added them to test scene.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using Godot;
|
||||
|
||||
namespace Babushka.scripts.CSharp.Low_Code.Variables.VariantValueChanger;
|
||||
|
||||
public partial class VariantToString : Node
|
||||
{
|
||||
[Export] private VariableResource _resource;
|
||||
|
||||
[Signal] public delegate void PayloadAsStringEventHandler(string payloadAsString);
|
||||
|
||||
|
||||
public void ConvertToString()
|
||||
{
|
||||
EmitSignal(SignalName.PayloadAsString, _resource.Payload.AsString());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user