//MonoBehaviour callbacks private void Awake() { //AI structure mainSequence = new Sequence(); //Actions _moveAction = GetComponentInChildren <MoveAction>(); _getNextPathPointAction = GetComponentInChildren <GetNextPathPointAction>(); }
//MonoBehaviour callbacks private void Awake() { //AI structure mainSequence = new Sequence(); //Actions _moveAction = GetComponentInChildren <MoveAction>(); _getNextPathPointAction = GetComponentInChildren <GetNextPathPointAction>(); //Checks _safeDistanceCheck = GetComponentInChildren <SafeDistanceCheck>(); _waintingCheck = GetComponentInChildren <WaintingCheck>(); }