Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Fill out your copyright notice in the Description page of Project Settings.
- #pragma once
- #include "Components/SceneComponent.h"
- #include "MySceneComponent.generated.h"
- UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) )
- class HOWTO_COMPONENTS_API UMySceneComponent : public USceneComponent
- {
- GENERATED_BODY()
- public:
- // Sets default values for this component's properties
- UMySceneComponent();
- protected:
- // Called when the game starts
- virtual void BeginPlay() override;
- public:
- // Called every frame
- virtual void TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction) override;
- float m_time;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement