text: // Fill out your copyright notice in the Description page of Project Settings.
  
  
  #include "MyBTTask_Attack.h"
  
  #include "AIController.h"
  #include "BaseEnemy.h"
  #include "TrashEnemy.h"
  #include "Animation/AnimMontage.h"
  
  
  EBTNodeResult::Type UMyBTTask_Attack::ExecuteTask(UBehaviorTreeComponent& OwnerComp, uint8* NodeMemory)
  {
      Cast<ATrashEnemy>(OwnerComp.GetAIOwner()->GetPawn())->BasicAttack();
      return EBTNodeResult::Succeeded;
  }
  