Exemple #1
0
        public Locale(InputFieldManager ifm, bool ispw)
        {
            KMInstance = KeyboardManager.Instance;

            Parent = ifm;
            if (Parent != null)
            {
                myInputField = Parent.GetComponent <MyInputField> ();
            }
            isPassword = ispw;
        }
        private bool ValidateInputField()
        {
            myIF = gameObject.GetComponent <MyInputField> ();
            if (myIF == null)
            {
                #if UNITY_EDITOR
                Debug.Log(LOG_TAG + ", InitKeyboards(), no MyInputField in GameObject");
                #endif
                //Log.e (LOG_TAG, "InitKeyboards(), no MyInputField in GameObject");
                return(false);
            }

            return(true);
        }