Exemplo n.º 1
0
    void AddSourceToMixGroup()
    {
        switch (group)
        {
        case MixGroup.Music:
            source.AddToMusicMixGroup();
            break;

        case MixGroup.Player:
            source.AddToPlayerMixGroup();
            break;

        case MixGroup.Objects:
            source.AddToObjectsMixGroup();
            break;

        case MixGroup.Ambient:
            source.AddToAmbientMixGroup();
            break;
        }
    }