Skip to content

Commit

Permalink
updated deps
Browse files Browse the repository at this point in the history
cleanup
  • Loading branch information
StephenHodgson committed Nov 3, 2024
1 parent 97572f0 commit 75655c9
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public class AssistantBehaviour : MonoBehaviour

#if !UNITY_2022_3_OR_NEWER
private readonly CancellationTokenSource lifetimeCts = new();
// ReSharper disable once InconsistentNaming
private CancellationToken destroyCancellationToken => lifetimeCts.Token;
#endif

Expand All @@ -87,7 +88,6 @@ private void Awake()
recordButton.onClick.AddListener(ToggleRecording);
}


#if !UNITY_2022_3_OR_NEWER
private void OnDestroy()
{
Expand Down Expand Up @@ -335,6 +335,7 @@ private void ToggleRecording()
else
{
inputField.interactable = false;
// ReSharper disable once MethodSupportsCancellation
RecordingManager.StartRecording<WavEncoder>(callback: ProcessRecording);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public class ChatBehaviour : MonoBehaviour

#if !UNITY_2022_3_OR_NEWER
private readonly CancellationTokenSource lifetimeCts = new();
// ReSharper disable once InconsistentNaming
private CancellationToken destroyCancellationToken => lifetimeCts.Token;
#endif

Expand All @@ -87,7 +88,6 @@ private void Awake()
recordButton.onClick.AddListener(ToggleRecording);
}


#if !UNITY_2022_3_OR_NEWER
private void OnDestroy()
{
Expand Down Expand Up @@ -335,6 +335,7 @@ private void ToggleRecording()
else
{
inputField.interactable = false;
// ReSharper disable once MethodSupportsCancellation
RecordingManager.StartRecording<WavEncoder>(callback: ProcessRecording);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public class RealtimeBehaviour : MonoBehaviour

#if !UNITY_2022_3_OR_NEWER
private readonly CancellationTokenSource lifetimeCts = new();
// ReSharper disable once InconsistentNaming
private CancellationToken destroyCancellationToken => lifetimeCts.Token;
#endif

Expand Down Expand Up @@ -335,6 +336,7 @@ private void ToggleRecording()
else
{
inputField.interactable = false;
// ReSharper disable once MethodSupportsCancellation
RecordingManager.StartRecording<WavEncoder>(callback: ProcessRecording);
}
}
Expand Down
2 changes: 1 addition & 1 deletion OpenAI/Packages/com.openai.unity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"url": "https://github.com/StephenHodgson"
},
"dependencies": {
"com.utilities.rest": "3.2.3",
"com.utilities.rest": "3.2.5",
"com.utilities.encoder.wav": "1.2.2",
"com.utilities.websockets": "1.0.0"
},
Expand Down
4 changes: 2 additions & 2 deletions OpenAI/Packages/manifest.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"dependencies": {
"com.unity.ide.rider": "3.0.31",
"com.unity.ide.rider": "3.0.34",
"com.unity.ide.visualstudio": "2.0.22",
"com.unity.textmeshpro": "3.0.9",
"com.unity.ugui": "1.0.0",
"com.utilities.buildpipeline": "1.5.0"
"com.utilities.buildpipeline": "1.5.6"
},
"scopedRegistries": [
{
Expand Down
6 changes: 3 additions & 3 deletions OpenAI/ProjectSettings/ProjectSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ PlayerSettings:
16:10: 1
16:9: 1
Others: 1
bundleVersion: 8.1.2
bundleVersion: 8.4.0
preloadedAssets: []
metroInputSource: 0
wsaTransparentSwapchain: 0
Expand Down Expand Up @@ -765,7 +765,7 @@ PlayerSettings:
m_RenderingPath: 1
m_MobileRenderingPath: 1
metroPackageName: com.openai.unity
metroPackageVersion: 7.1.0.0
metroPackageVersion: 8.4.0.0
metroCertificatePath:
metroCertificatePassword:
metroCertificateSubject:
Expand Down Expand Up @@ -878,7 +878,7 @@ PlayerSettings:
luminIsChannelApp: 0
luminVersion:
m_VersionCode: 1
m_VersionName: 7.1.0
m_VersionName: 8.4.0
apiCompatibilityLevel: 3
activeInputHandler: 0
windowsGamepadBackendHint: 0
Expand Down

0 comments on commit 75655c9

Please sign in to comment.