using System.Collections; using System.Collections.Generic; using UnityEngine; public class AgoraVideoJo : MonoBehaviour { private void Awake() { StartCoroutine(JoinChannel(3f)); } IEnumerator JoinChannel(float times) { yield return new WaitForSeconds(times); AgoraVideoAudioManager.Instance.JoinChannel(); } }