3Dlove Posted July 21, 2015 Share Posted July 21, 2015 Hello guys :-) How to abort an AssetsManager Task ?var assetsManager = new BABYLON.AssetsManager(scene);var textureTask = assetsManager.addTextureTask("image task", url);textureTask.onSuccess = function(task) { // some code};as the way of jQuery :window.xhr = $.ajax({ url: url, dataType: "json", success: function (data) { // some code }}); window.xhr.abort();Thank you Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted July 21, 2015 Share Posted July 21, 2015 Hello this is not supported so far Quote Link to comment Share on other sites More sharing options...
3Dlove Posted July 22, 2015 Author Share Posted July 22, 2015 Okay Is it on the roadmap ? Is it possible to use AssetsManager.reset() to abort all tasks of this manager ? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted July 22, 2015 Share Posted July 22, 2015 Actually you're right but it won't stop the running ones 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.