resourceObjectThis is the resource object you wish to remove from the library.
Zurückgegebener Wert
bool
This method removes a resource from this library.
var lib = scene.importLibrary("box://app/theme/goldTheme.box");
if (lib)
{
var bmp = lib.getResourceById("testPng");
if (bmp)
{
lib.removeResource(bmp);
}
}