forked from cgvr/DeltaVR
Unity pipeline scripts cleanup + enable dev build
This commit is contained in:
@@ -1,7 +1,4 @@
|
|||||||
using System.Collections;
|
using _PROJECT.Multiplayer.NewBow;
|
||||||
using _PROJECT.Multiplayer.NewBow;
|
|
||||||
using _PROJECT.Scripts.Bow;
|
|
||||||
using FishNet.Object;
|
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.XR.Interaction.Toolkit;
|
using UnityEngine.XR.Interaction.Toolkit;
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ GameObject:
|
|||||||
- component: {fileID: 104473305465913916}
|
- component: {fileID: 104473305465913916}
|
||||||
- component: {fileID: 998178908997684460}
|
- component: {fileID: 998178908997684460}
|
||||||
m_Layer: 0
|
m_Layer: 0
|
||||||
m_Name: ModelGenerationTestBox
|
m_Name: ModelGenerationBox
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
Binary file not shown.
@@ -35,7 +35,6 @@ public class VoiceTranscriptionBox : MonoBehaviour
|
|||||||
isLoading = false;
|
isLoading = false;
|
||||||
|
|
||||||
whisper.OnNewSegment += OnNewSegment;
|
whisper.OnNewSegment += OnNewSegment;
|
||||||
whisper.OnProgress += OnProgressHandler;
|
|
||||||
|
|
||||||
microphoneRecord.OnRecordStop += OnRecordStop;
|
microphoneRecord.OnRecordStop += OnRecordStop;
|
||||||
}
|
}
|
||||||
@@ -105,11 +104,6 @@ public class VoiceTranscriptionBox : MonoBehaviour
|
|||||||
isLoading = false;
|
isLoading = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnProgressHandler(int progress)
|
|
||||||
{
|
|
||||||
UnityEngine.Debug.Log($"Progress: {progress}%");
|
|
||||||
}
|
|
||||||
|
|
||||||
private void OnNewSegment(WhisperSegment segment)
|
private void OnNewSegment(WhisperSegment segment)
|
||||||
{
|
{
|
||||||
_buffer += segment.Text;
|
_buffer += segment.Text;
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user