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

            Parent = ifm;
            if (Parent != null)
            {
                myInputField = Parent.GetComponent <MyInputField> ();
            }
            isPassword = ispw;
        }
Beispiel #2
0
        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);
        }