Initial UE commit
This commit is contained in:
20
Source/TutoBegginer/Game/MyGameModeBase.cpp
Normal file
20
Source/TutoBegginer/Game/MyGameModeBase.cpp
Normal file
@ -0,0 +1,20 @@
|
||||
// Fill out your copyright notice in the Description page of Project Settings.
|
||||
|
||||
|
||||
#include "MyGameModeBase.h"
|
||||
|
||||
AMyGameModeBase::AMyGameModeBase()
|
||||
{
|
||||
PrimaryActorTick.bCanEverTick = true;
|
||||
}
|
||||
|
||||
void AMyGameModeBase::Tick( float DeltaTime )
|
||||
{
|
||||
TotalTime += DeltaTime;
|
||||
|
||||
}
|
||||
|
||||
void AMyGameModeBase::GameOver()
|
||||
{
|
||||
UE_LOG( LogTemp, Warning, TEXT( "Death" ) );
|
||||
}
|
||||
Reference in New Issue
Block a user