dmko Posted May 17, 2017 Share Posted May 17, 2017 when calling loader.onLoad.add() it seems that it's the loader itself which is passed. For example this runs correctly in Typescript: loader.onLoad.add((e:PIXI.loaders.Loader) => {}); How do I get information about which object loaded? i.e. for single items being completed, not the whole collection (i.e. onComplete) Quote Link to comment Share on other sites More sharing options...
dmko Posted May 17, 2017 Author Share Posted May 17, 2017 n/m I see it's the second parameter, e.g. loader.onLoad.add((ldr:PIXI.loaders.Loader, res:PIXI.loaders.Resource) => {}); ivan.popelyshev 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.