and get the file not found error when running the scene with “Play and Debug”
is there some good tutorials on the editor which cover such topics? I couldn’t find any. Is there some tutorial on the typical workflow when using the Editor? I mean how to start the project, how to tie multiple scenes together, …, build and release everything to production? You can’t just create the project from scratch with ts/js/html and then open it in the editor can’t you?
Hi @Bob ! Thanks for using the editor !
The scripts documentation may miss some informations like this one. Will share with you an example to retrieve assets.
Would you prefer to add the skybox using the editor or is it needed to create it using a script ?
@Bob, the editor exposes some tools that you can use in your scripts.
The variable “tools” is available in all scripts as a global variable. In your case, the tools object provides a method that allows to retrieve the files Urls (according to if the game is “in test” or “in production”) like this: