示例#1
0
    public override void PauseAllAudiosInCategory(string categoryId)
    {
        AudioCategory ac = GetCategory(categoryId);

        if (ac != null)
        {
            ac.PauseAllAudios();
        }
        else
        {
            if (_isLogged)
            {
                Debug.LogFormat(this, "Audio Manager Failed to pause audios in category[{0}].", categoryId);
            }
        }
    }