public var dog : int = 0;
java1.js is attached to the game object main camera.
Then the value of dog is changed by a controller input somewhere between 0-100.
How do I access the changing value of dog from java1.js in java2.js
So I can make a new variable cat = dog
asked May 26 '10 at 09:47 PM