Make SphereComponent a UPROPERTY

This commit is contained in:
baz 2024-11-25 02:36:39 +00:00
parent 3e14d6f6e3
commit 3642b9418b
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ class VAMPIRES_API AGarlicWeapon : public AWeapon
{ {
GENERATED_BODY() GENERATED_BODY()
UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (AllowPrivateAccess = "true"))
USphereComponent* SphereComponent; USphereComponent* SphereComponent;
TArray<FOverlappedEnemy> OverlappedEnemies; TArray<FOverlappedEnemy> OverlappedEnemies;