1234567891011121314151617181920 |
- using CScript.App;
- 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();
- AppManager.Instance.MeshPoint.SetActive(true);
- }
- }
|