public BehaviorSnippet(EvaluationTree parentEvalTree) { evalTree = parentEvalTree; bDS = evalTree.bds; charStats = bDS.charStats; }
// Start is called before the first frame update void Start() { rb = this.gameObject.GetComponent <Rigidbody2D>(); decisionSystem = this.gameObject.GetComponent <BehaviourDecisionSystem>(); pSpace = this.gameObject.GetComponentInChildren <PersonalSpace>(); }