Added NPC logic

This commit is contained in:
2026-06-01 22:04:31 +03:00
parent 06fb3353b2
commit a87964e119
37 changed files with 156 additions and 41 deletions
+3 -5
View File
@@ -7,6 +7,7 @@
#include "NPCType.h"
#include "NPC.generated.h"
class ANPCTargetLocation;
class UNPCTypeDefinition;
UCLASS()
@@ -44,9 +45,6 @@ public:
void DeactivateToPool();
protected:
UFUNCTION(BlueprintImplementableEvent, Category = "NPC")
void OnActivatedFromPool();
UFUNCTION(BlueprintImplementableEvent, Category = "NPC")
void OnDeactivatedToPool();
UPROPERTY(BlueprintReadWrite, Category = "NPC")
TObjectPtr<ANPCTargetLocation> TargetLocationActor;
};