- Home /
Question by
Purple.exe · Nov 06, 2015 at 06:12 PM ·
scriptingbasicscustomkeycodelauncher
Do KeyCodes in C# automatically appear in the launcher?
Currently, my script is something like this:
public Keycode fire = KeyCode.Mouse0
void Update() {
if (Input.GetKeyDown(fire)) {
//Do stuff
}
}
Will the KeyCodes called in the script appear in the launcher, or do I have to do something special to make that happen?
Comment
Best Answer
Answer by Landern · Nov 06, 2015 at 06:29 PM
Nope, though they could be, please use the input manager: http://docs.unity3d.com/Manual/class-InputManager.html
Your answer
![](https://koobas.hobune.stream/wayback/20220612044145im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
remove tab and changing text in Custom Resolution Dialog box? 0 Answers
Make custom game launcher 2 Answers
What is Mono? Is it a compiler? A language? Or what? 3 Answers
What is Vector3, Vector4, etc.? 2 Answers
Does Unity support multiple Inheritance? 3 Answers