Rename entire project to LuckyWorldV2, including uproject file, folders and so on

This commit is contained in:
martinluckyrobots
2025-04-12 11:24:29 +08:00
parent cc578afffb
commit 8556492849
57 changed files with 40 additions and 39 deletions

View File

@ -0,0 +1,19 @@
// Copyright Epic Games, Inc. All Rights Reserved.
#include "TP_VehicleAdvUI.h"
void UTP_VehicleAdvUI::UpdateSpeed(float NewSpeed)
{
// format the speed to KPH or MPH
float FormattedSpeed = FMath::Abs(NewSpeed) * (bIsMPH ? 0.022f : 0.036f);
// call the Blueprint handler
OnSpeedUpdate(FormattedSpeed);
}
void UTP_VehicleAdvUI::UpdateGear(int32 NewGear)
{
// call the Blueprint handler
OnGearUpdate(NewGear);
}