1234567891011121314151617181920212223242526 |
- using System.Collections;
- using System.Collections.Generic;
- using RenderHeads.Media.AVProVideo;
- using UnityEngine;
- using static Manager;
- public class ServerRoomVideoManager : MonoBehaviour
- {
- public GameObject jifang;
- public GameObject jilong;
- public int sid;
- public void setData(List<ServerVideoData> list,int id)
- {
- sid = id;
- jifang.GetComponent<seturl>().url(list[0].url);
- jilong.GetComponent<seturl>().url(list[1].url);
- }
- public static int csid;
- public void clickvideo()
- {
- Debug.Log("clickvideo=2=>" + sid);
- csid = sid;
- }
- }
|