Question by 
               koolkarrotkid · Oct 09, 2015 at 03:29 PM · 
                javascripterror message  
              
 
              Help with Unknown Identifier error 'Keycode'
i am trying to make a code where once i press Escape on my keyboard it switches the scene to my main menu i have set up but it keeps giving me this error Assets/Scripts/menuScript.js(3,21): BCE0005: Unknown identifier: 'Keycode'.
function Update () { if(Input.GetKey(Keycode.Escape)) %|-73974908_2|% } 
               Comment
              
 
               
               
               Best Answer 
              
 
              Answer by meat5000 · Oct 09, 2015 at 03:30 PM
"KeyCode"
No problem. We all get caught out occasionally.
Click accept if it was the answer ;)
Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                