コード例 #1
0
        // Token: 0x06002234 RID: 8756 RVA: 0x00094064 File Offset: 0x00092264
        private void UnfocusInputField()
        {
            MPEventSystem eventSystem = this.eventSystemLocator.eventSystem;

            if (eventSystem && eventSystem.currentSelectedGameObject == this.inputField.gameObject)
            {
                eventSystem.SetSelectedGameObject(null);
            }
            this.inputField.DeactivateInputField();
        }
コード例 #2
0
        // Token: 0x06002233 RID: 8755 RVA: 0x00094014 File Offset: 0x00092214
        private void FocusInputField()
        {
            MPEventSystem eventSystem = this.eventSystemLocator.eventSystem;

            if (eventSystem)
            {
                eventSystem.SetSelectedGameObject(this.inputField.gameObject);
            }
            this.inputField.ActivateInputField();
            this.inputField.text = "";
        }