Quantcast
Channel: Questions in topic: "javascipt"
Viewing all articles
Browse latest Browse all 1875

Help with Unknown Identifier error 'Keycode'

$
0
0
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|% }`

Viewing all articles
Browse latest Browse all 1875

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>