Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This question was closed Jul 07, 2014 at 03:25 PM by meat5000 for the following reason:

The question is answered, right answer was accepted

avatar image
6
Question by Michael 20 · Mar 17, 2011 at 01:25 PM · errorinputmanagersetupcrouch

Input button is not setup??

every time I click play an error appears down that says: Input button crouch is not setup

and then I go to edit->project settings->Input and there is no crouch listed in it.

So how can I add crouch button to input manager?

Thanks

Comment
Add comment · Show 4
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image robertmathew · Mar 17, 2011 at 01:41 PM 0
Share

put the code u have done

avatar image robertmathew · Mar 17, 2011 at 01:42 PM 0
Share

sample code which case error

avatar image robertmathew · Mar 17, 2011 at 01:43 PM 1
Share

go to edit->project setting->input and the set key which ever you have used in the code

avatar image Michael 20 · Mar 17, 2011 at 01:52 PM 0
Share

if (Input.GetButtonDown ("Crouch")){ if(crouching){ stopCrouching = true; normalSpeed(); return;

2 Replies

  • Sort: 
avatar image
19
Best Answer

Answer by e-bonneville · Mar 17, 2011 at 02:30 PM

If you want to add another input button in the Input manager, follow these steps:

  • There should be a number that says "17". Increase that to 18.
  • At the bottom of the Input manager, an 18th button will have appeared named "Jump".
  • There will now be two "Jump" entries. Open the second one.
  • Set Name to "crouch".
  • Set Positive button: "shift". (Or whatever button you want. List of possible buttons here).
  • That's it! Your script should work now. If it still doesn't, make sure the name in the Input manager is the same as the name you entered in your script.
Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image jordanatorX · Jul 07, 2014 at 03:23 PM 0
Share

when i try and change the positive button, it changes back to what it was....plz help

avatar image Simple_Zomb · Mar 18, 2015 at 09:23 AM 0
Share

You probably spelled something wrong or you didn't press the Enter key after typing :)

avatar image phppyjava · Nov 27, 2015 at 08:51 AM 0
Share

Thanks for your answer...

avatar image ahmedaniss · Jun 13, 2021 at 07:21 PM 0
Share

Problem fixed here : https://youtu.be/vcJCja4DeIo

avatar image
3

Answer by robertmathew · Mar 17, 2011 at 02:05 PM

if (Input.GetButtonDown("Fire1")) {

        //do something
     }

press left clt button for fire1 the positive control button is left clt go to edit->project setting->input to see list of virtual button and there settings

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Input manager cross platform 2 Answers

WebGL and I/O 1 Answer

Having problems with inputs. 1 Answer

Problem with Custom Input Manager 1 Answer

Input Issue 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges