ServerRoomVideoManager.cs 396 B

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