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 post good questions and use the site effectively we have posted a user 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.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
Answers and Comments
11 People are following this question.
The name 'Joystick' does not denote a valid type ('not found')
Cases if a GUI.Button is clicked two or more times??
Changing screen resolution with GUI Buttons
Back button on menu to go back to previous menu screen
Error in a really short script