Question by
YetiStudio · Jan 10, 2017 at 04:01 PM ·
inputkeyboardkeycode
What is the Input reference for the ² key ?
Hey everyone, I made a console system that I'm currently opening with the "Tab" key but I'd like to use the ² key just above. Is it possible to use this key in Unity ?
There is no informations about that key in the Scripting API: Keycode https://docs.unity3d.com/ScriptReference/KeyCode.html
Comment
Best Answer
Answer by YetiStudio · Jan 10, 2017 at 08:01 PM
Seems like I found it, it is:
if( Input.GetKeyDown( KeyCode.Quote) ){ print("² pressed"); }
But I'm pretty sure it depends on your keyboard type.