Advertisement
orfeasel

AI Character Header File

Jan 14th, 2016
16,505
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.50 KB | None | 0 0
  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;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement