using UnityEngine; using UnityEngine.UI; using TMPro; using System.Collections.Generic; // key //// typing ////// letter ////// symbol //// control namespace Amazon.XR.Keyboard { [RequireComponent(typeof(Button))] public class Key : MonoBehaviour { [SerializeField] protected KeyCode _primaryKey; protected Button _button; protected TMP_Text _text; protected const string k_upperDisplay = "ABC"; protected const string k_numericDisplay = "123"; protected const string k_symbolicDisplay = "#+="; protected KeyValuePair _currentValue; public KeyValuePair CurrentValue { get { return _currentValue; } } protected virtual void Awake() { _button = this.GetComponent