Question by
Smaragdtaler · Apr 27, 2020 at 05:36 PM ·
errorbuildeditor-scriptingerror build
Buttons don't work after building my project
Hello,
I developed my first game and wanted to export it. But there I got an error, that said, cannot ...player while the editor is importing assets or compiling scripts. To fix this, I created a new folder, called it "Editor" and moved all my files into this folder. Then I could build my project but when I was in the main menu, I noticed that the buttons where no longer assigned to the scripts. Because I moved the folders. The class in the scripts all have the same name as the file but when I try to move them onto the object, it says, that "the script is an editor script". So here's my question: How can I assign the scripts to the objects and still being able to build my game?
Thank you so much for your help. Shiny_Emerald
Comment