Construct 3 r153

You're viewing a single comment in a conversation. View all the comments
  • 3 Comments

  • Order by
  • Ashley, as far as I can tell some methods have been removed from the asset manager. What would the new new equivalent to this be:

    var assetManager = this.GetRuntime().GetAssetManager();

    var url = await assetManager.LoadProjectFileUrl(this.properties[0]);

    var json = await assetManager.FetchJson(url);

      • [-] [+]
      • 1
      • Ashley's avatar
      • Ashley
      • Construct Team Founder
      • 1 points
      • (1 child)

      It's best to report any issues to the bug tracker - anything mentioned anywhere else could easily be lost or forgotten. However in this case I did accidentally remove it in some refactoring we did - the new method name is GetProjectFileUrl() but I've added back LoadProjectFileUrl() for backwards compatibility in the next release.