Make agent components spawnable in blueprints

This commit is contained in:
nsubiron 2018-02-27 18:43:12 +01:00
parent 6e1905bea7
commit ed5aad9c56
3 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@
class ATrafficSignBase;
UCLASS()
UCLASS(ClassGroup=(Custom), meta=(BlueprintSpawnableComponent))
class CARLA_API UTrafficSignAgentComponent : public UAgentComponent
{
GENERATED_BODY()

View File

@ -12,7 +12,7 @@
class ACarlaWheeledVehicle;
UCLASS()
UCLASS(ClassGroup=(Custom), meta=(BlueprintSpawnableComponent))
class CARLA_API UVehicleAgentComponent : public UAgentComponent
{
GENERATED_BODY()

View File

@ -14,7 +14,7 @@ class ACharacter;
/// This component can be added to any ACharacter to be added as agent.
/// See UAgentComponent.
UCLASS()
UCLASS(ClassGroup=(Custom), meta=(BlueprintSpawnableComponent))
class CARLA_API UWalkerAgentComponent : public UAgentComponent
{
GENERATED_BODY()