Initial UE commit
This commit is contained in:
24
Source/TutoBegginer/Game/Plate.cpp
Normal file
24
Source/TutoBegginer/Game/Plate.cpp
Normal file
@ -0,0 +1,24 @@
|
||||
// Fill out your copyright notice in the Description page of Project Settings.
|
||||
|
||||
|
||||
#include "Plate.h"
|
||||
|
||||
// Sets default values
|
||||
APlate::APlate()
|
||||
{
|
||||
// Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it.
|
||||
PrimaryActorTick.bCanEverTick = false;
|
||||
|
||||
Mesh = CreateDefaultSubobject<UStaticMeshComponent>( "Mesh" );
|
||||
RootComponent = Mesh;
|
||||
|
||||
Mesh->SetSimulatePhysics( true );
|
||||
}
|
||||
|
||||
// Called when the game starts or when spawned
|
||||
void APlate::BeginPlay()
|
||||
{
|
||||
Super::BeginPlay();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user