✨ Added VariableGetter functionality and some Variable setting components. Also added them to test scene.
This commit is contained in:
@@ -3,6 +3,9 @@ using Godot;
|
||||
|
||||
namespace Babushka.scripts.CSharp.Low_Code.Variables;
|
||||
|
||||
/// <summary>
|
||||
/// A <see cref="Variant"/> value wrapper resource used to store state values and notify ingame scripts.
|
||||
/// </summary>
|
||||
[GlobalClass]
|
||||
public partial class VariableResource : Resource
|
||||
{
|
||||
@@ -11,6 +14,10 @@ public partial class VariableResource : Resource
|
||||
/// </summary>
|
||||
[Export] private bool _showLog;
|
||||
|
||||
/// <summary>
|
||||
/// Public property that manages the access to the payload.
|
||||
/// Triggers the ValueChange-function when set to a new value.
|
||||
/// </summary>
|
||||
[Export]
|
||||
public Variant Payload
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user