Nez.Portable/Utils/NezContentManager.cs
/// <summary>
/// unloads an Effect that was loaded via loadEffect, loadNezEffect or loadMonoGameEffect
/// </summary>
/// <param name="effectName">Effect.name</param>
unloads an Effect that was loaded via loadEffect, loadNezEffect or loadMonoGameEffect
unloads an Effect that was loaded via loadEffect loadNezEffect or loadMonoGameEffect
public bool unloadEffect(string effectName)
        {
            if (_loadedEffects.ContainsKey(effectName))
            {
                _loadedEffects[effectName].Dispose();
                _loadedEffects.Remove(effectName);
                return true;
            }
            return false;
        }
public bool unloadEffect ( string effectName ) { if ( _loadedEffects . ContainsKey ( effectName ) ) { _loadedEffects [ effectName ] . Dispose ( ) ; _loadedEffects . Remove ( effectName ) ; return true ; } return false ; }
unloads an Effect that was loaded via loadEffect, loadNezEffect or loadMonoGameEffect
unloads an Effect that was loaded via loadEffect loadNezEffect or loadMonoGameEffect
effectName
string
None