Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- Component.h:
- #pragma once
- #include "SoKinematicComponent.generated.h"
- UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) )
- class SORB_API USoKinematicComponent : public UActorComponent
- {
- GENERATED_BODY()
- public:
- // Sets default values for this component's properties
- USoKinematicComponent();
- // Called when the game starts
- virtual void BeginPlay() override;
- // Called every frame
- virtual void TickComponent( float DeltaTime, ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction ) override;
- protected:
- UPROPERTY(Instanced, EditAnywhere, BlueprintReadWrite)
- TArray<class USoKProcess*> Processes;
- };
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- Process.h:
- UCLASS(BlueprintType, EditInlineNew)
- class SORB_API USoKProcess :public UObject
- {
- GENERATED_BODY()
- public:
- USoKProcess() {};
- UPROPERTY(EditAnywhere)
- bool bRun;
- UPROPERTY(Instanced, EditAnywhere, NoClear, BlueprintReadWrite)
- TArray<class USoKTask*> Tasks;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement