Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- UCLASS(Blueprintable)
- class PACZ_API UTestObject : public UDataAsset
- {
- GENERATED_BODY()
- public:
- /** Constructor. */
- UTestObject(const FObjectInitializer& ObjectInitializer);
- /** Custom Property, Foo. */
- UPROPERTY( EditAnywhere, BlueprintReadWrite, Category = "Test" )
- int32 Foo;
- /** PostInitProperties override. */
- virtual void PostInitProperties() override;
- /** PostLoad override. */
- virtual void PostLoad() override;
- };
- UCLASS(Blueprintable, meta=(BlueprintSpawnableComponent))
- class PACZ_API UTestComponent : public UStaticMeshComponent
- {
- GENERATED_BODY()
- public:
- /** Constructor. */
- UTestComponent(const FObjectInitializer& ObjectInitializer);
- /** Custom Property, Foo. */
- UPROPERTY( EditAnywhere, BlueprintReadWrite, Category = "Test" )
- int32 Foo;
- /** PostInitProperties override. */
- virtual void PostInitProperties() override;
- /** PostLoad override. */
- virtual void PostLoad() override;
- };
- UCLASS(Blueprintable)
- class PACZ_API ATestActor: public AActor
- {
- GENERATED_BODY()
- public:
- /** Constructor. */
- ATestActor(const FObjectInitializer& ObjectInitializer);
- /** Custom Property, Foo. */
- UPROPERTY( EditAnywhere, BlueprintReadWrite, Category = "TestObject" )
- int32 Foo;
- /** A custom component. */
- UPROPERTY( VisibleAnywhere, Instanced, Category = "Test" )
- UTestComponent* TestComponent;
- /** PostInitProperties override. */
- virtual void PostInitProperties() override;
- /** PostLoad override. */
- virtual void PostLoad() override;
- };
Advertisement
Add Comment
Please, Sign In to add comment