Epic Developer Community Forums
Is it better to declare in header when using GameState?
Development
Programming & Scripting
C++
gamestate
,
question
,
unreal-engine
,
CPP
dakdak125
(dakdak125)
January 27, 2023, 4:29am
1
or
what is the better?
Chatouille
(Chatouille)
January 27, 2023, 1:54pm
2
if (auto GameState = GetWorld()->GetGameState<AJanggiGameState>()) { //... }
1 Like