12345678910111213141516171819202122232425262728293031323334 |
- using QFramework;
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- /// <summary>
- /// 教学模式操作控制器
- /// </summary>
- public class TeachOperationController : MonoSingleton<TeachOperationController>
- {
- [SerializeField]
- private GameObject m_VRPlayer;
- // Start is called before the first frame update
- void Awake()
- {
- Init();
- }
- private void Init()
- {
- ControlCameraStatus(false);
- }
- /// <summary>
- /// 控制相机状态
- /// </summary>
- /// <param name="_isShow"></param>
- public void ControlCameraStatus(bool _isShow)
- {
- m_VRPlayer.SetActive(_isShow);
- }
- }
|