コード例 #1
0
        public void ShowSingleFAQ()
        {
#if UNITY_ANDROID || UNITY_IOS
            GameObject inputFieldGo = GameObject.FindGameObjectWithTag("faqidd");
            InputField inputFieldCo = inputFieldGo.GetComponent <InputField>();
            try
            {
                Convert.ToInt16(inputFieldCo.text);
                _helpshiftX.ShowSingleFAQ(inputFieldCo.text, GetConversationConfig());
                Debug.Log("Helpshift - ShowSingleFAQ called");
            }
            catch (FormatException e)
            {
                Debug.Log("Input string is not a sequence of digits : " + e);
            }
#endif
        }