document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. private:
  2.     UFUNCTION()
  3.     void OnSeePlayer(APawn* Pawn);
  4.  
  5. public:
  6.     // Sets default values for this character\'s properties
  7.     AAICharacter();
  8.  
  9.     // Called when the game starts or when spawned
  10.     virtual void BeginPlay() override;
  11.  
  12.     /*The Component which is used for the "seeing" sense of the AI*/
  13.     UPROPERTY(VisibleAnywhere,Category="AI")
  14.     class UPawnSensingComponent* PawnSensingComp;
  15.  
  16.     /*The Behavior Tree of the Character*/
  17.     UPROPERTY(EditAnywhere,Category="AI")
  18.     class UBehaviorTree* BehaviorTree;
');