- Home /
Question by
valtteri_m · Oct 21, 2017 at 05:27 PM ·
javascriptconvertenumkeycodeparse
Convert String into KeyCode (UnityScript)
I'm trying to convert a string into a KeyCode, more precisely I want to convert Input.inputString into a KeyCode.
I've tried to find a solution online and the closest I have gotten is this: https://msdn.microsoft.com/en-us/library/essfb559
But I don't know how to translate that into UnityScript.
Comment
Your answer
Follow this Question
Related Questions
How to set KeyCode with Number for load? C# 1 Answer
Another Error - Enum.Parse 1 Answer
Help with C#(Sharp) to Java Script :) !!! 1 Answer
converting javascript to c# 1 Answer