void Start() { myMemory = gameObject.AddComponent <AIMemory>(); myMemory.Set(BasicMemory.LastKnownPlayerPosition, 3f, "Child Cell"); parentMemory = gameObject.transform.parent.gameObject.AddComponent <AIMemory>(); StartCoroutine(MemoryRoutine()); AIExecutor.Exec(gameObject, aiTreeAsset, new Dictionary <string, object>() { { "Foo", "This is foo" } }); }
public TreeArguments(Dictionary <string, object> arguments, AIMemory aiMemory) { this.arguments = arguments; this.aiMemory = aiMemory; }