Not compiled
I imported a .html and .js enter assets
But after .js Unity compiled, an error
I hope that Unity can skip .js, do not compile
What to do?
----edit----
My question may be said to be so I have included a javascript error This will result in a compile error But I need this .js file in my project in How can I do?
i edited i am not't sure this have more specofic but i try to
Answer by Statement · Oct 29, 2015 at 02:45 PM
Unity will try to compile .js files as UnityScript.
It is not the same thing as javascript for web.
Don't put web javascript (or any non-UnityScript .js) in Assets.
But I want to use to view the .html webview .js To .html it is necessary Is there any way you can solve this dilemma?
I don't understand what your issue is. Unity doesn't import html or webjs as assets as far as I know. If you want a built webplayer/webgl game to use a different webpage you should set up a template.
I found other ways, thank you for answering my question!
Your answer
Follow this Question
Related Questions
Javascript Script for Object Follow? 0 Answers
Function Update not working 1 Answer
Animation Types Won't Play 0 Answers
Trying to get animation to work. Problem with JS. 1 Answer
Need help to put together 2 scripts 0 Answers