12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using UnityEngine.SceneManagement;
- using UnityEngine.UI;
- using UnityEngine.Networking;
- using UnityEngine.EventSystems;
- using System.Text.RegularExpressions;
- using System.Data.SqlClient;
- using System.Runtime.InteropServices;
- using System.Text;
- using TMPro;
- using System;
- using System.IO;
- using ZXing;
- using ZXing.QrCode;
- using System.Net;
- using System.Data;
- using SimpleJSON;
- using System.Linq;
-
- public class www : MonoBehaviour
- {
-
- UniWebView webView;
- public RectTransform panelRectTransform;
- // Start is called before the first frame update
- void Start()
- {
- // Create a game object to hold UniWebView and add component.
- var webViewGameObject = new GameObject("UniWebView");
- webView = webViewGameObject.AddComponent<UniWebView>();
- webView.ReferenceRectTransform = panelRectTransform;
- webView.Load("http://106.1.48.106:8080/");
- webView.EmbeddedToolbar.Show();
- webView.Show();
-
- // More to add...
- }
-
- // Update is called once per frame
- void Update()
- {
-
- }
- }
|