Esempio n. 1
0
        private void AddHotkey(EHotkeyType p_hotkeyType)
        {
            GameObject    gameObject = NGUITools.AddChild(m_keysRoot.gameObject, m_keyConfigPrefab);
            KeyConfigView component  = gameObject.GetComponent <KeyConfigView>();

            component.Init(p_hotkeyType, this);
            m_keyConfigViews[p_hotkeyType] = component;
            m_entriesCount++;
        }
Esempio n. 2
0
 public void StartKeyInput(KeyConfigView p_keyView)
 {
     m_currentKeyView            = p_keyView;
     m_buttonKeyDelete.isEnabled = true;
     m_buttonKeyDeleteText.color = Color.white;
 }