private void OnRecordingStopCallback(LXVRResult result) { if (result == LXVRResult.Success) { Debug.Log("OnRecordingStopCallback : " + result); } }
private void OnRecordingStopCallback(LXVRResult result, Tutorial2Status state) { if (result == LXVRResult.Success) { Debug.Log("OnRecordingStopCallback : " + result); switch (state) { case Tutorial2Status.Image: if (curImageIndex == Images.Length - 1) { ChangeMode(Tutorial2Status.Question1); return; } curImageIndex++; timer = 0f; ChangeMode(Tutorial2Status.Image); break; case Tutorial2Status.Video: ChangeMode(Tutorial2Status.Question2); break; case Tutorial2Status.Question1: ChangeMode(Tutorial2Status.Video); break; case Tutorial2Status.Question2: ChangeMode(Tutorial2Status.End); break; } } }
private void OnRecordingStartCallback(LXVRResult result, GameObject obj) { if (result == LXVRResult.Success) { obj.SetActive(true); } }
private void OnRecordingEventCallback(LXVRResult result) { if (result == LXVRResult.Success) { lxvrManager.StopRecording((LXVRResult recordingStopResult) => { OnRecordingStopCallback(recordingStopResult, curState); }); } }
private void OnRecordingEventCallback(LXVRResult result) { if (result == LXVRResult.Success) { } }