Hi, I was wondering how to create a virtual keyboard manually, using buttons. when click to the buttons, text appear on screen. I created a code, but it only appear one letter only. How I could appear the text according to button click?
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class textAnswer : MonoBehaviour {
public Text Alphabet;
public void firstgame (string alphabet) {
Alphabet.text = alphabet;
string firstGameResult = alphabet;
if (firstGameResult == "e") {
Debug.Log ("correct");
}