-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from Nossima/MainMenu
## Main menu #### Main Menu: - beach cheep cheep background - `MySlideButton` Class: a button that slides when hovered - `Play` button that redirects to YannTest (Path in a variable to be easily edited later) - `Quit` button that exit the game (it just works, don't try it, it will exit the editor) #### Race HUD: - adding a pause menu - "3, 2, 1, GO" before the timer begins when asking to start the timer
- Loading branch information
Showing
19 changed files
with
365 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,82 @@ | ||
|
||
[/Script/EngineSettings.GeneralProjectSettings] | ||
ProjectID=4C5E5CFA41A35A1F55DA489142C41F76 | ||
|
||
[StartupActions] | ||
bAddPacks=True | ||
InsertPack=(PackSource="StarterContent.upack",PackName="StarterContent") | ||
|
||
|
||
[/Script/EngineSettings.GeneralProjectSettings] | ||
ProjectID=4C5E5CFA41A35A1F55DA489142C41F76 | ||
|
||
[StartupActions] | ||
bAddPacks=True | ||
InsertPack=(PackSource="StarterContent.upack",PackName="StarterContent") | ||
|
||
[/Script/UnrealEd.ProjectPackagingSettings] | ||
Build=IfProjectHasCode | ||
BuildConfiguration=PPBC_Development | ||
BuildTarget= | ||
StagingDirectory=(Path="") | ||
FullRebuild=False | ||
ForDistribution=False | ||
IncludeDebugFiles=False | ||
BlueprintNativizationMethod=Disabled | ||
bIncludeNativizedAssetsInProjectGeneration=False | ||
bExcludeMonolithicEngineHeadersInNativizedCode=False | ||
UsePakFile=True | ||
bUseIoStore=False | ||
bMakeBinaryConfig=False | ||
bGenerateChunks=False | ||
bGenerateNoChunks=False | ||
bChunkHardReferencesOnly=False | ||
bForceOneChunkPerFile=False | ||
MaxChunkSize=0 | ||
bBuildHttpChunkInstallData=False | ||
HttpChunkInstallDataDirectory=(Path="") | ||
bCompressed=True | ||
PakFileCompressionFormats=Oodle | ||
bForceUseProjectCompressionFormatIgnoreHardwareOverride=False | ||
PakFileAdditionalCompressionOptions=-compressionblocksize=256KB | ||
PakFileCompressionMethod=Kraken | ||
PakFileCompressionLevel_DebugDevelopment=3 | ||
PakFileCompressionLevel_TestShipping=5 | ||
PakFileCompressionLevel_Distribution=7 | ||
HttpChunkInstallDataVersion= | ||
IncludePrerequisites=True | ||
IncludeAppLocalPrerequisites=False | ||
bShareMaterialShaderCode=True | ||
bDeterministicShaderCodeOrder=False | ||
bSharedMaterialNativeLibraries=True | ||
ApplocalPrerequisitesDirectory=(Path="") | ||
IncludeCrashReporter=False | ||
InternationalizationPreset=English | ||
-CulturesToStage=en | ||
+CulturesToStage=en | ||
LocalizationTargetCatchAllChunkId=0 | ||
bCookAll=False | ||
bCookMapsOnly=False | ||
bSkipEditorContent=False | ||
bSkipMovies=False | ||
-IniKeyBlacklist=KeyStorePassword | ||
-IniKeyBlacklist=KeyPassword | ||
-IniKeyBlacklist=rsa.privateexp | ||
-IniKeyBlacklist=rsa.modulus | ||
-IniKeyBlacklist=rsa.publicexp | ||
-IniKeyBlacklist=aes.key | ||
-IniKeyBlacklist=SigningPublicExponent | ||
-IniKeyBlacklist=SigningModulus | ||
-IniKeyBlacklist=SigningPrivateExponent | ||
-IniKeyBlacklist=EncryptionKey | ||
-IniKeyBlacklist=IniKeyBlacklist | ||
-IniKeyBlacklist=IniSectionBlacklist | ||
+IniKeyBlacklist=KeyStorePassword | ||
+IniKeyBlacklist=KeyPassword | ||
+IniKeyBlacklist=rsa.privateexp | ||
+IniKeyBlacklist=rsa.modulus | ||
+IniKeyBlacklist=rsa.publicexp | ||
+IniKeyBlacklist=aes.key | ||
+IniKeyBlacklist=SigningPublicExponent | ||
+IniKeyBlacklist=SigningModulus | ||
+IniKeyBlacklist=SigningPrivateExponent | ||
+IniKeyBlacklist=EncryptionKey | ||
+IniKeyBlacklist=IniKeyBlacklist | ||
+IniKeyBlacklist=IniSectionBlacklist | ||
+MapsToCook=(FilePath="/Game/StarterContent/Maps/Minimal_Default") | ||
+MapsToCook=(FilePath="/Game/Levels/MainMenu") | ||
+MapsToCook=(FilePath="/Game/Levels/YannTest") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
[/Script/Engine.InputSettings] | ||
-AxisConfig=(AxisKeyName="Gamepad_LeftX",AxisProperties=(DeadZone=0.25,Exponent=1.f,Sensitivity=1.f)) | ||
-AxisConfig=(AxisKeyName="Gamepad_LeftY",AxisProperties=(DeadZone=0.25,Exponent=1.f,Sensitivity=1.f)) | ||
-AxisConfig=(AxisKeyName="Gamepad_RightX",AxisProperties=(DeadZone=0.25,Exponent=1.f,Sensitivity=1.f)) | ||
-AxisConfig=(AxisKeyName="Gamepad_RightY",AxisProperties=(DeadZone=0.25,Exponent=1.f,Sensitivity=1.f)) | ||
-AxisConfig=(AxisKeyName="MouseX",AxisProperties=(DeadZone=0.f,Exponent=1.f,Sensitivity=0.07f)) | ||
-AxisConfig=(AxisKeyName="MouseY",AxisProperties=(DeadZone=0.f,Exponent=1.f,Sensitivity=0.07f)) | ||
-AxisConfig=(AxisKeyName="Mouse2D",AxisProperties=(DeadZone=0.f,Exponent=1.f,Sensitivity=0.07f)) | ||
+AxisConfig=(AxisKeyName="Gamepad_LeftX",AxisProperties=(DeadZone=0.250000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="Gamepad_LeftY",AxisProperties=(DeadZone=0.250000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="Gamepad_RightX",AxisProperties=(DeadZone=0.250000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="Gamepad_RightY",AxisProperties=(DeadZone=0.250000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="MouseX",AxisProperties=(DeadZone=0.000000,Sensitivity=0.070000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="MouseY",AxisProperties=(DeadZone=0.000000,Sensitivity=0.070000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="Mouse2D",AxisProperties=(DeadZone=0.000000,Sensitivity=0.070000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="MouseWheelAxis",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="Gamepad_LeftTriggerAxis",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="Gamepad_RightTriggerAxis",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="Gamepad_Special_Left_X",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="Gamepad_Special_Left_Y",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="Daydream_Left_Trackpad_X",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="Daydream_Left_Trackpad_Y",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="Daydream_Right_Trackpad_X",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="Daydream_Right_Trackpad_Y",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="Vive_Left_Trigger_Axis",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="Vive_Left_Trackpad_X",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="Vive_Left_Trackpad_Y",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="Vive_Right_Trigger_Axis",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="Vive_Right_Trackpad_X",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="Vive_Right_Trackpad_Y",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="MixedReality_Left_Trigger_Axis",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="MixedReality_Left_Thumbstick_X",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="MixedReality_Left_Thumbstick_Y",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="MixedReality_Left_Trackpad_X",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="MixedReality_Left_Trackpad_Y",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="MixedReality_Right_Trigger_Axis",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="MixedReality_Right_Thumbstick_X",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="MixedReality_Right_Thumbstick_Y",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="MixedReality_Right_Trackpad_X",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="MixedReality_Right_Trackpad_Y",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="OculusTouch_Left_Grip_Axis",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="OculusTouch_Left_Trigger_Axis",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="OculusTouch_Left_Thumbstick_X",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="OculusTouch_Left_Thumbstick_Y",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="OculusTouch_Right_Grip_Axis",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="OculusTouch_Right_Trigger_Axis",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="OculusTouch_Right_Thumbstick_X",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="OculusTouch_Right_Thumbstick_Y",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="ValveIndex_Left_Grip_Axis",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="ValveIndex_Left_Grip_Force",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="ValveIndex_Left_Trigger_Axis",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="ValveIndex_Left_Thumbstick_X",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="ValveIndex_Left_Thumbstick_Y",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="ValveIndex_Left_Trackpad_X",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="ValveIndex_Left_Trackpad_Y",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="ValveIndex_Left_Trackpad_Force",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="ValveIndex_Left_Trackpad_Touch",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="ValveIndex_Right_Grip_Axis",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="ValveIndex_Right_Grip_Force",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="ValveIndex_Right_Trigger_Axis",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="ValveIndex_Right_Thumbstick_X",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="ValveIndex_Right_Thumbstick_Y",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="ValveIndex_Right_Trackpad_X",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="ValveIndex_Right_Trackpad_Y",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
+AxisConfig=(AxisKeyName="ValveIndex_Right_Trackpad_Force",AxisProperties=(DeadZone=0.000000,Sensitivity=1.000000,Exponent=1.000000,bInvert=False)) | ||
bAltEnterTogglesFullscreen=True | ||
bF11TogglesFullscreen=True | ||
bUseMouseForTouch=False | ||
bEnableMouseSmoothing=True | ||
bEnableFOVScaling=True | ||
bCaptureMouseOnLaunch=True | ||
bAlwaysShowTouchInterface=False | ||
bShowConsoleOnFourFingerTap=True | ||
bEnableGestureRecognizer=False | ||
bUseAutocorrect=False | ||
DefaultViewportMouseCaptureMode=CapturePermanently_IncludingInitialMouseDown | ||
DefaultViewportMouseLockMode=LockOnCapture | ||
FOVScale=0.011110 | ||
DoubleClickTime=0.200000 | ||
+ActionMappings=(ActionName="PauseAction",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=M) | ||
+ActionMappings=(ActionName="PauseAction",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=Escape) | ||
DefaultPlayerInputClass=/Script/Engine.PlayerInput | ||
DefaultInputComponentClass=/Script/Engine.InputComponent | ||
DefaultTouchInterface=/Engine/MobileResources/HUD/DefaultVirtualJoysticks.DefaultVirtualJoysticks | ||
-ConsoleKeys=Tilde | ||
+ConsoleKeys=Tilde | ||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// Fill out your copyright notice in the Description page of Project Settings. | ||
|
||
|
||
#include "MyMainMenuUserWidget.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// Fill out your copyright notice in the Description page of Project Settings. | ||
|
||
#pragma once | ||
|
||
#include "CoreMinimal.h" | ||
#include "Blueprint/UserWidget.h" | ||
#include "MyMainMenuUserWidget.generated.h" | ||
|
||
/** | ||
* | ||
*/ | ||
UCLASS() | ||
class KO_RACING_API UMyMainMenuUserWidget : public UUserWidget | ||
{ | ||
GENERATED_BODY() | ||
|
||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
// Fill out your copyright notice in the Description page of Project Settings. | ||
|
||
|
||
#include "MySlidingButton.h" | ||
|
||
void UMySlidingButton::Init() | ||
{ | ||
_startingX = RenderTransform.Translation.X; | ||
_slidedX = _startingX - _maxOffset; | ||
_timer = 0; | ||
} | ||
|
||
void UMySlidingButton::Tick(float deltaTime) | ||
{ | ||
Move(deltaTime); | ||
} | ||
|
||
void UMySlidingButton::Move(float deltaTime) | ||
{ | ||
if (IsHovered()) { | ||
if (!_wasHovered) { | ||
_timer = 0; | ||
_wasHovered = true; | ||
} | ||
_timer += deltaTime; | ||
if (_timer < _timeToTransition) { | ||
FVector2D btnTxtPos = _btnTxt->RenderTransform.Translation; | ||
FVector2D btnPos = RenderTransform.Translation; | ||
float resX = (btnPos.X - _slidedX) * (_timer / _timeToTransition); | ||
btnTxtPos.X += resX; | ||
btnPos.X -= resX; | ||
_btnTxt->SetRenderTranslation(btnTxtPos); | ||
SetRenderTranslation(btnPos); | ||
} else { | ||
FVector2D btnTxtPos = _btnTxt->RenderTransform.Translation; | ||
FVector2D btnPos = RenderTransform.Translation; | ||
float resX = btnPos.X - _slidedX; | ||
btnTxtPos.X += resX; | ||
btnPos.X -= resX; | ||
_btnTxt->SetRenderTranslation(btnTxtPos); | ||
SetRenderTranslation(btnPos); | ||
} | ||
} else { | ||
if (_wasHovered) { | ||
_timer = 0; | ||
_wasHovered = false; | ||
} | ||
_timer += deltaTime; | ||
if (_timer < _timeToTransition) { | ||
FVector2D btnTxtPos = _btnTxt->RenderTransform.Translation; | ||
FVector2D btnPos = RenderTransform.Translation; | ||
float resX = (_startingX - btnPos.X) * (_timer / _timeToTransition); | ||
btnTxtPos.X -= resX; | ||
btnPos.X += resX; | ||
_btnTxt->SetRenderTranslation(btnTxtPos); | ||
SetRenderTranslation(btnPos); | ||
} else { | ||
FVector2D btnTxtPos = _btnTxt->RenderTransform.Translation; | ||
FVector2D btnPos = RenderTransform.Translation; | ||
float resX = _startingX - btnPos.X; | ||
btnTxtPos.X -= resX; | ||
btnPos.X += resX; | ||
_btnTxt->SetRenderTranslation(btnTxtPos); | ||
SetRenderTranslation(btnPos); | ||
} | ||
} | ||
} | ||
|
||
void UMySlidingButton::LoadNextLevel() | ||
{ | ||
GetWorld()->ServerTravel(_nextLevelPath); | ||
} | ||
|
||
void UMySlidingButton::QuitGame() | ||
{ | ||
FGenericPlatformMisc::RequestExit(false); | ||
} |
Oops, something went wrong.