fix a ue 5.8 deperecation warning on android builds
This commit is contained in:
@@ -48,8 +48,14 @@ void FSenseGloveAndroidModule::StartupModule()
|
|||||||
{
|
{
|
||||||
SGLOG("Starting up the SenseGloveAndroid module...");
|
SGLOG("Starting up the SenseGloveAndroid module...");
|
||||||
|
|
||||||
|
#if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION >= 8
|
||||||
|
OnPostEngineInitHandle = FCoreDelegates::GetOnPostEngineInit().AddRaw(
|
||||||
|
this, &FSenseGloveAndroidModule::OnPostEngineInit);
|
||||||
|
#else /* ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION >= 8 */
|
||||||
OnPostEngineInitHandle = FCoreDelegates::OnPostEngineInit.AddRaw(
|
OnPostEngineInitHandle = FCoreDelegates::OnPostEngineInit.AddRaw(
|
||||||
this, &FSenseGloveAndroidModule::OnPostEngineInit);
|
this, &FSenseGloveAndroidModule::OnPostEngineInit);
|
||||||
|
#endif /* ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION >= 8 */
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void FSenseGloveAndroidModule::PreUnloadCallback()
|
void FSenseGloveAndroidModule::PreUnloadCallback()
|
||||||
|
|||||||
Reference in New Issue
Block a user