method replaceLibrary

void replaceLibrary(string oldURL,string newURL);

Argumente

Zurückgegebener Wert

This method replaces a given library with a different library. This function will maintain the child ordering of all libraries.
function onSample()
{
    scene.replaceLibrary("../theme/style.box", "../theme/accStyle.box");
}