Add CurrentPatrolRoute reference to EnemyCharacter

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

View File

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