1. TSubclassOf< type >
// .h
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Boss|Camera")
TSubclassOf<UCameraShakeBase> ShortCameraShakeClass;
// .cpp
static ConstructorHelpers::FClassFinder<UCameraShakeBase> BP_ShortCameraShakeBase(TEXT("/Game/_AbyssDiver/Blueprints/Boss/Effect/BP_ShortCameraShakeBase"));
if (BP_ShortCameraShakeBase.Succeeded())
{
ShortCameraShakeClass = BP_ShortCameraShakeBase.Class;
}'언리얼 엔진 > 트러블슈팅' 카테고리의 다른 글
| [언리얼엔진] 렌더링 최적화 팁 (0) | 2025.05.20 |
|---|---|
| [언리얼엔진] 범위 공격 - RadialDamage (1) | 2025.05.15 |
| [언리얼엔진] BeginPlay, Tick 이벤트 관련 (0) | 2025.05.09 |
| [언리얼엔진] Git Issue, PR Template 사용법 (0) | 2025.05.07 |
| [언리얼엔진] 마우스 커서 변경 (0) | 2025.04.27 |