using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class VideoLefttem : MonoBehaviour { public Text t; public GameObject big; string vurl; public void setdata(string url,int i) { vurl = url; t.text = i.ToString(); } public void clickbig() { big.SetActive(true); big.GetComponentInChildren().url(vurl); } }