✨ Added sceneprovider reference to field scripts and made them register on ready. Also added VariableSetter.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using Godot;
|
||||
|
||||
namespace Babushka.scripts.CSharp.Low_Code.Variables;
|
||||
|
||||
public partial class VariableSetter : Node
|
||||
{
|
||||
[Export] private VariableResource _variableResource;
|
||||
[Export] private Variant _payloadToSet;
|
||||
|
||||
public void Set()
|
||||
{
|
||||
_variableResource.Payload = _payloadToSet;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
uid://dfpyjxivcuidr
|
||||
Reference in New Issue
Block a user