Пример #1
0
        public Locale(InputFieldManager ifm, bool ispw)
        {
            KMInstance = KeyboardManager.Instance;

            Parent = ifm;
            if (Parent != null)
            {
                myInputField = Parent.GetComponent <MyInputField> ();
            }
            isPassword = ispw;
        }
Пример #2
0
        public English(InputFieldManager ifm, bool ispw) : base(ifm, ispw)
        {
            Locale_Keyboards = KMInstance.GetLocaleKeyboards <Type_ENG> (KeyboardLanguage.English);
            if (Locale_Keyboards != null)
            {
                foreach (Type_ENG _type in EnumUtil.GetValues <Type_ENG>())
                {
                    foreach (CKeyboard <Type_ENG> _kb in Locale_Keyboards)
                    {
                        if (_type == _kb.Type)
                        {
                            #if UNITY_EDITOR
                            Debug.Log(LOG_TAG + ", English() default keyboard is " + _type);
                            #endif
                            curKeyboard = _type;
                            goto ConstructorCompleted;
                        }
                    }
                }
            }

ConstructorCompleted:
            ;
        }