Ejemplo n.º 1
0
    void ProcessApplicationPause(bool appPause)
    {
        if (onApplicationPausePreProcess != null)
        {
            onApplicationPausePreProcess(appPause);
        }
#if !UNITY_EDITOR && UNITY_IOS
        if (appPause == false)
        {
            CriAtomPlugin.CallOnApplicationResume_IOS();
        }
#endif

#if UNITY_STANDALONE || UNITY_EDITOR
        if (!KeepPlayingSoundOnPause)
        {
            CriAtomPlugin.Pause(appPause);
        }
#else
#if !UNITY_IOS
        CriAtomPlugin.Pause(appPause);
#endif
#endif
        if (onApplicationPausePostProcess != null)
        {
            onApplicationPausePostProcess(appPause);
        }
    }
Ejemplo n.º 2
0
 void ProcessApplicationPause(bool appPause)
 {
     if (onApplicationPausePreProcess != null)
     {
         onApplicationPausePreProcess(appPause);
     }
     CriAtomPlugin.Pause(appPause);
     if (onApplicationPausePostProcess != null)
     {
         onApplicationPausePostProcess(appPause);
     }
 }
Ejemplo n.º 3
0
 void OnApplicationPause(bool pause)
 {
     if (onApplicationPausePreProcess != null)
     {
         onApplicationPausePreProcess(pause);
     }
     CriAtomPlugin.Pause(pause);
     if (onApplicationPausePostProcess != null)
     {
         onApplicationPausePostProcess(pause);
     }
 }
Ejemplo n.º 4
0
    void ProcessApplicationPause(bool appPause)
    {
        if (onApplicationPausePreProcess != null)
        {
            onApplicationPausePreProcess(appPause);
        }
#if !UNITY_EDITOR && UNITY_IOS
        if (appPause == false)
        {
            CriAtomPlugin.CallOnApplicationResume_IOS();
        }
#endif
        CriAtomPlugin.Pause(appPause);
        if (onApplicationPausePostProcess != null)
        {
            onApplicationPausePostProcess(appPause);
        }
    }
Ejemplo n.º 5
0
 // Token: 0x060159CB RID: 88523 RVA: 0x0058063C File Offset: 0x0057E83C
 public void Pause(bool pause)
 {
     CriAtomPlugin.Pause(pause);
 }