MCPcopy Create free account
hub / github.com/DruidMech/UE5_TheUltimateDeveloperCourse / SetGold

Method SetGold

Source/Slash/Private/HUD/SlashOverlay.cpp:24–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24void USlashOverlay::SetGold(int32 Gold)
25{
26 if (GoldText)
27 {
28 const FString String = FString::Printf(TEXT("%d"), Gold);
29 const FText Text = FText::FromString(String);
30 GoldText->SetText(Text);
31 }
32}
33
34void USlashOverlay::SetSouls(int32 Souls)
35{

Callers 2

AddGoldMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected