first commit

This commit is contained in:
Chris
2025-03-12 14:22:16 -04:00
commit 0ad0c01249
1999 changed files with 189708 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
using NodeCanvas.Framework;
using UnityEngine;
namespace NodeCanvas.DialogueTrees
{
[System.Obsolete("Use Jumpers instead")]
public class GoToNode : DTNode
{
[SerializeField]
private DTNode _targetNode = null;
public override int maxOutConnections { get { return 0; } }
public override bool requireActorSelection { get { return false; } }
protected override Status OnExecute(Component agent, IBlackboard bb) {
if ( _targetNode == null ) {
return Error("Target node of GOTO node is null");
}
DLGTree.EnterNode(_targetNode);
return Status.Success;
}
}
}