I am trying to make my game able to work with keyboard and xbox controller. I have the movement down, but I can't seem to get the script to call the shoot function when the left trigger is pressed down. Is there any way somebody can help me out with this?
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 to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
6 People are following this question.
Xbox one controller support?
Multiple Cars not working
Distribute terrain in zones
[Shooting shots Scripting] How to make the compiler know that I mean the empty quad by the Public Transform?
How to Combine MxN different image in to one Texture2D