-
Notifications
You must be signed in to change notification settings - Fork 135
Open
Labels
Description
With the new esm scripting system inheritance is now supported quite well.
I've played around with it a bit and it seems like the code editor isn't yet fully supporting this.
Here is my sample project:
https://playcanvas.com/project/1466873/overview/inheritance
In this project the following inhertiance is taking place: A -> B -> C
Following problems arise:
- If only opening script C the editor can only resolve properties of the class it directly inherits from, but not any further parent classes. this.stringA and this.on do not resolve correctly. This can be fixed by opening script B and A in the editor, the references are then resolved correctly.
- Close all scripts open C then open B. Editor fails to resolve the import for script A in script B. Can again be fixed by opening script A
Reactions are currently unavailable