示例#1
0
    void OnApplicationPause(bool pause)
    {
        if (downloadManager != null)
        {
            //Debug.Log ("[Gamedonia Files] OnApplicationPause : " + pause);

            if (pause)
            {
                downloadManager.Deactivate();
            }
            else
            {
                downloadManager.Activate();
            }
        }
    }