Hide .js file in project, make it only as a resource for HTML website.
Hi, I have to create local web server in unity, so I can put inside of it my HTML5 project, which contains game. I've searched for one and found one from this link GITHUB UniWebServer link.
I'd like to know, if there is possibility to run my own HTML website, which would contain one .js file. The problem is that, so .js file shows me all the time 'compile error', so I can't even run the project.
I've tried to make a hidden folder with adding "~" at the end of it's name and then put here .js file, but then, it is hidden from whole project, and my HTML website can't see it.
Is there any possibility to tell unity that - " PLEASE DON'T TRY TO COMPILE THIS .JS FILE, IT'S ONLY FOR SITE PURPOSES ".
Thanks for answers.
Comment