using System.Collections; using System.Collections.Generic; using UnityEngine; public class AgoraVideoJo : MonoBehaviour { private void Awake() { StartCoroutine(JoinChannel(3f)); } static GameObject vgo; IEnumerator JoinChannel(float times) { yield return new WaitForSeconds(times); if(DeviceType.type!="YuanNi") AgoraRTCManager.Instance.JoinChannel(); // AppManager.Instance.MeshPoint.SetActive(true); } }