Any ideas on this? We have an app that lets you pick cardboard or full screen as a user selection. It works perfect on Android but is always split view (Cardboard) on iOS.
Debugged into the code and it is running this on the tap...
extern "C" void Menu_UsePhone_m366 (Menu_t70 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
VRToggle_t73_il2cpp_TypeInfo_var = il2cpp_codegen_type_info_from_index(73);
_stringLiteral48 = il2cpp_codegen_string_literal_from_index(48);
s_Il2CppMethodIntialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(VRToggle_t73_il2cpp_TypeInfo_var);
((VRToggle_t73_StaticFields*)VRToggle_t73_il2cpp_TypeInfo_var->static_fields)->___isVREnabled_2 = 0;
Application_LoadLevel_m681(NULL /*static, unused*/, _stringLiteral48, /*hidden argument*/NULL);
return;
}
}
It is as if __isVREnabled_2 is not being used to control the view and in fact that is what it appears when I search for that variable, it is set several places but never used.
Thanks for any suggestions you can offer.
Regards, Chuck
↧