Esempio n. 1
0
        /// <summary>
        /// IOS 工具栏完成按钮文本样式
        /// </summary>
        /// <param name="text"></param>
        public static void SetDoneButtonText(string text)
        {
#if UNITY_IOS && !UNITY_EDITOR
            UniWebViewPlugin.SetDoneButtonText(text);
#endif
        }
Esempio n. 2
0
 /// <summary>
 /// 加载HtmlString
 /// </summary>
 /// <param name="htmlString"></param>
 /// <param name="baseUrl"></param>
 public void LoadHTMLString(string htmlString, string baseUrl)
 {
     UniWebViewPlugin.LoadHTMLString(gameObject.name, htmlString, baseUrl);
 }
Esempio n. 3
0
 /// <summary>
 /// 设置User Agent
 /// </summary>
 /// <param name="value"></param>
 public static void SetUserAgent(string value)
 {
     UniWebViewPlugin.SetUserAgent(value);
 }