ServerRoomVideoManager.cs 432 B

123456789101112131415161718
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using RenderHeads.Media.AVProVideo;
  4. using UnityEngine;
  5. using static Manager;
  6. public class ServerRoomVideoManager : MonoBehaviour
  7. {
  8. public GameObject jifang;
  9. public GameObject jilong;
  10. public void setData(List<ServerVideoData> list)
  11. {
  12. jifang.GetComponent<seturl>().url(list[0].url);
  13. jilong.GetComponent<seturl>().url(list[1].url);
  14. }
  15. }