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 list,int id) { sid = id; jifang.GetComponent().url(list[0].url); jilong.GetComponent().url(list[1].url); } public static int csid; public void clickvideo() { Debug.Log("clickvideo=2=>" + sid); csid = sid; } }