Added node highlight, fixed temporary load to include start node as well, fixed For-Condition
This commit is contained in:
@@ -5,6 +5,7 @@ public abstract class ProgramNode
|
||||
{
|
||||
public ProgramNode nextNode;
|
||||
public ProgramNode NegativeNode;
|
||||
public string EditorNodeId;
|
||||
public string DisplayText;
|
||||
public string TooltipText;
|
||||
public string lastExecutionMessage;
|
||||
@@ -13,6 +14,13 @@ public abstract class ProgramNode
|
||||
public abstract ProgramNode Duplicate();
|
||||
public abstract string Save();
|
||||
|
||||
public ProgramNode DuplicateForRuntime(string editorNodeId)
|
||||
{
|
||||
ProgramNode duplicate = Duplicate();
|
||||
duplicate.EditorNodeId = editorNodeId;
|
||||
return duplicate;
|
||||
}
|
||||
|
||||
public virtual void SetNextNode(
|
||||
List<Godot.Collections.Dictionary> connections,
|
||||
Dictionary<StringName, ProgramNode> availableNodes
|
||||
|
||||
Reference in New Issue
Block a user