void OnDestroy()
    {
#if UNITY_IOS
        MojingSDK.Unity_AppPause();
#endif
        MojingSDK.Unity_AppPageEnd(Application.loadedLevelName);
    }
Esempio n. 2
0
    void OnDestroy()
    {
#if !UNITY_EDITOR && UNITY_IOS
        MojingSDK.Unity_AppPause();
#endif
        MojingSDK.Unity_AppPageEnd(SceneManager.GetActiveScene().name);
    }
    void OnApplicationPause(bool pauseStatus)
    {
        if (pauseStatus)
        {
            MojingSDK.Unity_AppPageEnd(Application.loadedLevelName);
#if UNITY_IOS
            MojingSDK.Unity_AppPause();
#endif
        }
    }
Esempio n. 4
0
    void OnApplicationPause(bool pauseStatus)
    {
        if (pauseStatus)
        {
            MojingSDK.Unity_AppPageEnd(SceneManager.GetActiveScene().name);
#if !UNITY_EDITOR && UNITY_IOS
            MojingSDK.Unity_AppPause();
#endif
        }
    }