Add CurrentPatrolRoute reference to EnemyCharacter

This commit is contained in:
baz 2024-02-09 18:21:40 +00:00
parent 0fd27b6745
commit 3d16e8e24a
1 changed files with 5 additions and 0 deletions

View File

@ -4,6 +4,7 @@
#include "CoreMinimal.h" #include "CoreMinimal.h"
#include "NakatomiCharacter.h" #include "NakatomiCharacter.h"
#include "PatrolRoute.h"
#include "BehaviorTree/BehaviorTreeComponent.h" #include "BehaviorTree/BehaviorTreeComponent.h"
#include "RandomWeaponParameters.h" #include "RandomWeaponParameters.h"
#include "EnemyCharacter.generated.h" #include "EnemyCharacter.generated.h"
@ -17,6 +18,10 @@ class NAKATOMI_API AEnemyCharacter : public ANakatomiCharacter
{ {
GENERATED_BODY() GENERATED_BODY()
public:
UPROPERTY(EditAnywhere, Meta = (AllowPrivateAccess = "true"))
APatrolRoute* CurrentPatrolRoute;
private: private:
UPROPERTY(EditDefaultsOnly, Meta = (AllowPrivateAccess = "true")) UPROPERTY(EditDefaultsOnly, Meta = (AllowPrivateAccess = "true"))
UBehaviorTree* BehaviourTree; UBehaviorTree* BehaviourTree;