Loads assets by path, giving each one an alias equal to its path.
Load everything a scene needs before creating it; afterwards texture() is synchronous,
so game code never has to await in the middle of building a scene. Pass onProgress alone
(the original signature) or a LoadAssetsOptions object for the resolution option.
Loads assets by path, giving each one an alias equal to its path.
Load everything a scene needs before creating it; afterwards
texture()is synchronous, so game code never has to await in the middle of building a scene. PassonProgressalone (the original signature) or aLoadAssetsOptionsobject for the resolution option.