UClassを返す関数。

返されたUClassは下で言うとATowerを表す

構文

AActor::StaticClass
//こんな時に使う
UGameplayStatics::GetAllActorsOfClass(this,ATower::StaticClass,TowerList);

UClass::StaticClass | Unreal Engine 5.4 Documentation | Epic Developer Community