void OnApplicationPause(bool pausing)
    {
        Debug.Log("OnApplicationPause: " + pausing);
        KongregateAPI kongregate = KongregateAPI.GetAPI();

        if (pausing)
        {
            kongregate.OnPause();
        }
        else
        {
            kongregate.OnResume();
            if (mKongregateWindowOpen)
            {
#if UNITY_IPHONE
                // Android closes the panel when the app goes to the background, so iOS only.
                Debug.Log("Kongregate Panel is still open, game should remain paused");
                Time.timeScale      = 0;
                AudioListener.pause = true;
#endif
            }
        }
    }