If request(...) returns a null value that might be a valid result of a resource.
If in doubt the state of a resource can be queried here.
IMPORTANT
Don't use this function to decide weather you have to load a sub-resource or not.
Always use loader.request()
for all sub-resources
you need.
Use this to request one or more sub-resources your loader format needs.
Example could be:
sheetConfig = await mySubResLoader.request(['json:mySpriteSheet.json']);
const images = await mySubResLoader.request(sheetJson.images);
// now sheet config & images are there to create the object
Generated using TypeDoc
This is meant to be used with the ResourceLoader. It allows you to load additonal resources.
It takes care of all dependencies.
See
ResourceLoader