public WaitUntilArrivedAtDestinationNode(IBlackboard blackboard) : base(blackboard)
 {
     this.blackboard = blackboard;
     unitNavigation  = blackboard.GetTargetGameObject().GetComponent <UnitNavigation>();
 }
 public override bool CheckConditions()
 {
     return(blackboard.GetTargetGameObject().activeSelf&& blackboard.GetActionDestination() != null);
 }
 public override bool CheckConditions()
 {
     return(blackboard.GetTargetGameObject().activeSelf&& unitNavigation != null);
 }
 public MoveToDestinationNode(IBlackboard blackboard) : base(blackboard)
 {
     this.blackboard = blackboard;
     unitNavigation  = blackboard.GetTargetGameObject().GetComponent <UnitNavigation>();
 }