- Home /
Question by
noga · Apr 21, 2011 at 10:02 PM ·
javascript
How Do I Activate My Scripting?
HI, my question is pretty much just in the title,"How Do I Activate My Scripting?". I'm looking for a way to use my Javascript. If you need any more details, just ask.
Comment
I'm asking. What do you mean 'activate'. What do you mean 'use'? Have you attached it to an object? Are you talking about the 'enabled' field?
Answer by Chris D · Apr 21, 2011 at 10:23 PM
Within Unity, the assets menu is where you can start. Assets->Create->Javascript.
That'll give you the bare-bones script you need to get going. The update function get called every frame so, generally, that's where you'll put your logic. There's much more to scripting; I recommend heading over to the scripting guide.