- Home /
Question by
Dunsec · Jun 22, 2016 at 05:13 AM ·
javascriptvalueopengloutput
How do I output a value to a JS file?
Hi,
I've been using Unity for a while but I am completely new to the WebGL side of things.
I want to start off simple.
I want to make a scene with a cube, when the cube is clicked it adds a value of 1 to an int, what's the best way of going with this? Could some one show me a script for me to study or point me in a direction?
Would it write to a JS script on the server, what is required?
Thanks for your time!
Comment
Your answer
Follow this Question
Related Questions
Get integer or float value of a variable 2 Answers
How to get the key from Array value 1 Answer
How to add time to a timer? 1 Answer
Setting the value of a var to the value of another 1 Answer
Unexpected token? 1 Answer