Uobject begin play() equivalent

thanks, in my case GIsPlayInEditorWorld is always false (4.26). I’m using: if (FApp::IsGame()).