示例#1
0
 private void OnRecordingStopCallback(LXVRResult result)
 {
     if (result == LXVRResult.Success)
     {
         Debug.Log("OnRecordingStopCallback : " + result);
     }
 }
示例#2
0
    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;
            }
        }
    }
示例#3
0
 private void OnRecordingStartCallback(LXVRResult result, GameObject obj)
 {
     if (result == LXVRResult.Success)
     {
         obj.SetActive(true);
     }
 }
示例#4
0
 private void OnRecordingEventCallback(LXVRResult result)
 {
     if (result == LXVRResult.Success)
     {
         lxvrManager.StopRecording((LXVRResult recordingStopResult) =>
         {
             OnRecordingStopCallback(recordingStopResult,
                                     curState);
         });
     }
 }
示例#5
0
 private void OnRecordingEventCallback(LXVRResult result)
 {
     if (result == LXVRResult.Success)
     {
     }
 }