You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Users often mutate the global pc object to hold state etc. Any changes made, should not break existing projects
Do you foresee much work for this one? I'm not convinced this is something we explicitly want support. If users are mutating engine they should probably have the option of providing their own (modified) engine instead (or something like that).
This is more like if users are currently mutating the pc global in a project. If we don't provide a mutable global, then current projects will break. End goal is to migrate away from this, but there needs to be a transition period.
Support importing playcanvas in ESM Scripts
As per playcanvas/engine#4767, users should be able to import playcanvas code in ESM Scripts without using the pc global.
This requires a number of changes to launcher and to exported projects.
Launcher
playcanvas
to the global import map. Depends upon Import Maps #1108exported projects
playcanvas
to the exported projects import mapConsiderations
The text was updated successfully, but these errors were encountered: