protected virtual void Awake()
 {
     _goals   = new List <BrianGoapGoal>(GetComponents <BrianGoapGoal>());
     _actions = new List <BrianGoapAction>(GetComponents <BrianGoapAction>());
     _sensors = new List <BrianGoapSensor>(GetComponents <BrianGoapSensor>());
     _memory  = GetComponent <BrianGoapAgentMemory>();
 }
Beispiel #2
0
 protected virtual void Awake()
 {
     _memory = GetComponent <BrianGoapAgentMemory>();
 }