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,24 @@
using NodeCanvas.Framework;
using ParadoxNotion.Design;
namespace NodeCanvas.Tasks.Actions
{
[Category("✫ Blackboard")]
[Description("Loads the blackboard variables previously saved in the provided PlayerPrefs key if at all. Returns false if no saves found or load was failed")]
public class LoadBlackboard : ActionTask<Blackboard>
{
[RequiredField]
public BBParameter<string> saveKey;
protected override string info {
get { return string.Format("Load Blackboard [{0}]", saveKey.ToString()); }
}
protected override void OnExecute() {
EndAction(agent.Load(saveKey.value));
}
}
}