Quantcast
Channel: Questions in topic: "keyboard"
Viewing all articles
Browse latest Browse all 605

how to get my gui keyboard input work ?

$
0
0
im trying to get my gui button as keyboard input with on click listener it says : Cannot cast from source type to destination type. public class WordInput : MonoBehaviour { public WordManager maincontroller; // Update is called once per frame void Update () { foreach (char letter in System.Enum.GetValues(typeof(KeyCode))) { maincontroller.TypeLetter(letter); Debug.Log (letter); } }

Viewing all articles
Browse latest Browse all 605

Trending Articles



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