12345678910111213141516171819202122232425262728 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using UnityEngine.UI;
- public class VideoRight : MonoBehaviour
- {
- public Text t;
- public GameObject big;
- string initstr;
- private void Awake()
- {
- initstr = t.text;
- }
- string vurl;
- public void setdata(string url,int i)
- {
- t.text = t.text + "-" + i;
- vurl = url;
- this.GetComponentInChildren<seturl>().url(url);
- }
- public void clickbig()
- {
- big.SetActive(true);
- big.GetComponentInChildren<seturl>().url(vurl);
- }
- }
|