Jump to content

Breaking API changes in alpha11


HoloLite
 Share

Recommended Posts

Hello,

After updating from alpha9 to 11, I noticed the following API changes in bjs on:

  • action manager
  • shadow generators.

Here are the compile errors:

ERROR in ClientApp/app/VkCore/Vk.ts(414,38): error TS2551: Property '_actionManagers' does not exist on type 'Scene'. Did you mean 'actionManager'?
ClientApp/app/VkCore/Vk.ts(704,20): error TS2551: Property '_actionManagers' does not exist on type 'Scene'. Did you mean 'actionManager'?
ClientApp/app/scenes/CityExplorer.ts(691,192): error TS2339: Property 'shadowGenerators' does not exist on type 'AssetContainer'.

Would someone know what's the new replacement api should be ?

Thank you

 

Link to comment
Share on other sites

Well we moved some _ properties to public ones (like _actionManagers to actionManagers, etc..)

So yes they changed. But as they were starting with "_" they are not considered part of the public API and should not be used :)

 

Only public ones should be used

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...