Does ResourceGroupManager.RemoveResourceLocation work?

burns

19-11-2008 18:33:37

Can anyone verify for me that they actually have the RemoveResourceLocation(...) function in ResourceGroupManager working?

I have tried using it, and after I remove a resource location, FindResourceFileInfo(...) still returns the files from that resource location.

If you have it working . . . what might I be getting tripped up on? I pass in the relative path as the name, just like I did when I added the resource location. Is this wrong?

smiley80

20-11-2008 12:23:30

Works for me.

I have this line (among others) in resources.cfg:
FileSystem=../../Media/Characters

When I remove it with:
ResourceGroupManager.Singleton.RemoveResourceLocation("../../Media/Characters");

The files don't show up in FindResourceFileInfo.