From 3642b9418b8bc07d8d7128d19f6bcff6ad1a3c2c Mon Sep 17 00:00:00 2001 From: baz Date: Mon, 25 Nov 2024 02:36:39 +0000 Subject: [PATCH] Make SphereComponent a UPROPERTY --- Source/vampires/Weapons/GarlicWeapon.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/vampires/Weapons/GarlicWeapon.h b/Source/vampires/Weapons/GarlicWeapon.h index 8f53a2d..69bc1f4 100644 --- a/Source/vampires/Weapons/GarlicWeapon.h +++ b/Source/vampires/Weapons/GarlicWeapon.h @@ -27,6 +27,7 @@ class VAMPIRES_API AGarlicWeapon : public AWeapon { GENERATED_BODY() + UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (AllowPrivateAccess = "true")) USphereComponent* SphereComponent; TArray OverlappedEnemies;