I'm new to Unity, and I've taken a simple coding tutorial so I can read and understand coding. I'm having troubles finding how to assign controls to actions, like a simple attack button by clicking the mouse. If someone could please help me out I would be very happy.
If you're new to unity, try looking for a tutorial. Most are outdated now, but I'm sure you can salvage a ton of information from them.
Answer by commodore
Jan 21, 2013 at 04:40 AM
You're looking for the Input scripting reference:
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
11 People are following this question.
The name 'Joystick' does not denote a valid type ('not found')
Need a Bigger Button script!!!
How can I create an RTS style build function into my GUI
Main Menu button in pause menu
Character Controls like the game "Fable"