Initial UE commit
This commit is contained in:
29
Source/TutoBegginer/Game/Plate.h
Normal file
29
Source/TutoBegginer/Game/Plate.h
Normal file
@ -0,0 +1,29 @@
|
||||
// Fill out your copyright notice in the Description page of Project Settings.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "GameFramework/Actor.h"
|
||||
#include "Plate.generated.h"
|
||||
|
||||
UCLASS()
|
||||
class TUTOBEGGINER_API APlate : public AActor
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
public:
|
||||
// Sets default values for this actor's properties
|
||||
APlate();
|
||||
|
||||
protected:
|
||||
|
||||
UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="Components")
|
||||
UStaticMeshComponent* Mesh;
|
||||
|
||||
// Called when the game starts or when spawned
|
||||
virtual void BeginPlay() override;
|
||||
|
||||
public:
|
||||
// Called every frame
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user