using System; using TMPro; using UnityEngine; using UnityEngine.UI; namespace HK.Keyboard { public class KeyBind : MonoBehaviour { [SerializeField] public string keyName; [SerializeField] public bool isPic = false; [SerializeField] public Image image; public Action onClickAction; private void Awake() { if (isPic) { image.gameObject.SetActive(true); } else { // GetComponentInChildren().text = keyName; } GetComponent