HoloLite Posted July 6, 2018 Share Posted July 6, 2018 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 Quote Link to comment Share on other sites More sharing options...
HoloLite Posted July 6, 2018 Author Share Posted July 6, 2018 Btw, upon looking at my codes deeper, those references are not critical and I could safely remove them. I am guessing though that there are some changes in the action manager and shadow in bjs. Right? Quote Link to comment Share on other sites More sharing options...
Guest Posted July 6, 2018 Share Posted July 6, 2018 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 Quote Link to comment Share on other sites More sharing options...
HoloLite Posted July 6, 2018 Author Share Posted July 6, 2018 Got it. Thanks for the explanations. 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.