示例#1
0
        void Awake()
        {
            Application.logMessageReceived += ApplicationOnlogMessageReceived;
            if (FindObjectOfType <EmteqVRManager>() != null && Instance != null)
            {
                Destroy(this.gameObject);
                return;
            }

            ShowContactPrompt = _showContactPrompt;
            DontDestroyOnLoad(this.gameObject);
            Instance = this;
        }
示例#2
0
 public void ExitGaze(string objectName)
 {
     EmteqVRManager.EndDataSection($"Gaze:{objectName}");
 }
示例#3
0
 public void EnterGaze(string objectName)
 {
     EmteqVRManager.StartDataSection($"Gaze:{objectName}");
 }
示例#4
0
 private void OnHideSubtitle(string subtitle)
 {
     //Debug.Log(subtitle+" Hide");
     EmteqVRManager.EndDataSection(subtitle);
 }
示例#5
0
 private void OnShowSubtitle(string subtitle)
 {
     //Debug.Log(subtitle+" Show");
     EmteqVRManager.StartDataSection(subtitle);
 }