Esempio n. 1
0
    public void Initialize(UIKeyboard parent)
    {
        this.parent = parent;

        border = GetComponent <Image>();

        label      = GetComponentInChildren <TextMeshProUGUI>();
        label.text = Key.ToLabel();
        label.gameObject.AddComponent <UIKeyHover>().Initialize(parent.Agent, Key);

        SetActiveState(false);
    }