What is a “debugger” statement in JavaScript?
The debugger statement stops the execution of the code at a breakpoint in [JavaScript][1] and calls the debugging function. Also, the debugging statement fails to work without the availability of...
View ArticleGetting an error in unity WebGL on IOS when trying to emit something to...
Hello, I created a game with unity and WebGL. Everything works fine on every device except for iOS. For some reason when i try to emit some values from unity to a function in javascript IOS return me...
View ArticleError of one of the elements when starting the program
I wrote the source code for a new application on IOS, there were no errors on the tests, but when I ran the code, an error appeared in this place, I don’t understand where and what’s wrong var t =...
View ArticleHow does .JSLIB file work?
I can't understand how to work with `.jslib` files. I don't understand the syntax of t$$anonymous$$s type of file. Also I couldn't find any easy explanation of it The problem started when I tried to...
View ArticleCan I create a game using javascript only without c#? and how?
I learned javascript and I want to creat a game, I have heared that I can create a game in unity using javascript only without c#. Is it right? If yes, I want to know how in details.
View ArticleWhy does WASD move my player quicker than with a joystick?
For some reason, if you use a keyboard to move my player it's faster than a joystick. Can anyone help me? Here's my code: #pragma strict var moveSpeed : float; var clampRadius : float; var dashSpeed :...
View ArticleUpload json to WebGL Unity 2021
Hi to everyone, in my project i need to upload a json file straight from WebGL. I've read some other questions where the anser was by using JavaScript, but is it stil working fine on Unity 2021? Anyone...
View ArticleMissing (Mono Script) when it really exists
I'm running into a very annoying issue. Come on Unity! I thought you were better than this. When there is a bug in a script, the script shows up as missing in the inspector. I just upgraded an old...
View Article