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.Scripts.Bow;
|
||||
using FishNet.Object;
|
||||
using _PROJECT.Multiplayer.NewBow;
|
||||
using UnityEngine;
|
||||
using UnityEngine.XR.Interaction.Toolkit;
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ GameObject:
|
||||
- component: {fileID: 104473305465913916}
|
||||
- component: {fileID: 998178908997684460}
|
||||
m_Layer: 0
|
||||
m_Name: ModelGenerationTestBox
|
||||
m_Name: ModelGenerationBox
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
Binary file not shown.
@@ -35,7 +35,6 @@ public class VoiceTranscriptionBox : MonoBehaviour
|
||||
isLoading = false;
|
||||
|
||||
whisper.OnNewSegment += OnNewSegment;
|
||||
whisper.OnProgress += OnProgressHandler;
|
||||
|
||||
microphoneRecord.OnRecordStop += OnRecordStop;
|
||||
}
|
||||
@@ -105,11 +104,6 @@ public class VoiceTranscriptionBox : MonoBehaviour
|
||||
isLoading = false;
|
||||
}
|
||||
|
||||
private void OnProgressHandler(int progress)
|
||||
{
|
||||
UnityEngine.Debug.Log($"Progress: {progress}%");
|
||||
}
|
||||
|
||||
private void OnNewSegment(WhisperSegment segment)
|
||||
{
|
||||
_buffer += segment.Text;
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user