From 68e1273792d65aa3248ad1bf161e4dd2c81b3903 Mon Sep 17 00:00:00 2001 From: Han <1985708279@qq.com> Date: Fri, 18 Apr 2025 11:18:24 +0800 Subject: [PATCH 1/2] =?UTF-8?q?RKVoiceCommand=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../07.RKVoiceCommand/RunTime/IVoiceCommandSystem.cs | 2 +- .../RunTime/VoiceCommandController.cs | 12 ------------ Assets/07.RKVoiceCommand/package.json | 2 +- 3 files changed, 2 insertions(+), 14 deletions(-) diff --git a/Assets/07.RKVoiceCommand/RunTime/IVoiceCommandSystem.cs b/Assets/07.RKVoiceCommand/RunTime/IVoiceCommandSystem.cs index 3814ac3..be1c816 100644 --- a/Assets/07.RKVoiceCommand/RunTime/IVoiceCommandSystem.cs +++ b/Assets/07.RKVoiceCommand/RunTime/IVoiceCommandSystem.cs @@ -59,6 +59,6 @@ public class VoiceCommandSystem : AbstractSystem,IVoiceCommandSystem protected override void OnInit() { - throw new System.NotImplementedException(); + } } \ No newline at end of file diff --git a/Assets/07.RKVoiceCommand/RunTime/VoiceCommandController.cs b/Assets/07.RKVoiceCommand/RunTime/VoiceCommandController.cs index 24c6508..728c2f6 100644 --- a/Assets/07.RKVoiceCommand/RunTime/VoiceCommandController.cs +++ b/Assets/07.RKVoiceCommand/RunTime/VoiceCommandController.cs @@ -89,16 +89,4 @@ public class VoiceCommandController : MonoBehaviour } } - - void Update() - { - if (Input.GetKeyDown(KeyCode.Space)) - { - if (VoiceCommands.TryGetValue("变成绿色", out Action action)) - { - action?.Invoke(); - } - } - } - } diff --git a/Assets/07.RKVoiceCommand/package.json b/Assets/07.RKVoiceCommand/package.json index 6cc445b..b470a0b 100644 --- a/Assets/07.RKVoiceCommand/package.json +++ b/Assets/07.RKVoiceCommand/package.json @@ -1,6 +1,6 @@ { "name": "com.staryevo.rkvoicecommand", - "version": "1.0.1", + "version": "1.0.2", "displayName": "07.RKVoiceCommand", "description": "Rokid语音命令工具", "unity": "2021.3", From 99a284f9e3384f4f85bffeefafaf412c0d027a27 Mon Sep 17 00:00:00 2001 From: Han <1985708279@qq.com> Date: Fri, 18 Apr 2025 11:29:01 +0800 Subject: [PATCH 2/2] RKVoiceCommand1.0.3 --- Assets/07.RKVoiceCommand/RunTime.meta | 8 ++++++++ .../RunTime/IVoiceCommandSystem.cs.meta | 11 +++++++++++ .../RunTime/RKVoiceCommand.RunTime.asmdef | 18 ++++++++++++++++++ .../RunTime/RKVoiceCommand.RunTime.asmdef.meta | 13 +++++++++++++ .../RunTime/VoiceCommandController.cs.meta | 11 +++++++++++ Assets/07.RKVoiceCommand/package.json | 2 +- Assets/07.RKVoiceCommand/package.json.meta | 7 +++++++ 7 files changed, 69 insertions(+), 1 deletion(-) create mode 100644 Assets/07.RKVoiceCommand/RunTime.meta create mode 100644 Assets/07.RKVoiceCommand/RunTime/IVoiceCommandSystem.cs.meta create mode 100644 Assets/07.RKVoiceCommand/RunTime/RKVoiceCommand.RunTime.asmdef create mode 100644 Assets/07.RKVoiceCommand/RunTime/RKVoiceCommand.RunTime.asmdef.meta create mode 100644 Assets/07.RKVoiceCommand/RunTime/VoiceCommandController.cs.meta create mode 100644 Assets/07.RKVoiceCommand/package.json.meta diff --git a/Assets/07.RKVoiceCommand/RunTime.meta b/Assets/07.RKVoiceCommand/RunTime.meta new file mode 100644 index 0000000..716d4ec --- /dev/null +++ b/Assets/07.RKVoiceCommand/RunTime.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d1654ed807ee7c24c94cab4c172e6f91 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/07.RKVoiceCommand/RunTime/IVoiceCommandSystem.cs.meta b/Assets/07.RKVoiceCommand/RunTime/IVoiceCommandSystem.cs.meta new file mode 100644 index 0000000..7963cbb --- /dev/null +++ b/Assets/07.RKVoiceCommand/RunTime/IVoiceCommandSystem.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 073d8fadbb202ad42a540fd5299555c3 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/07.RKVoiceCommand/RunTime/RKVoiceCommand.RunTime.asmdef b/Assets/07.RKVoiceCommand/RunTime/RKVoiceCommand.RunTime.asmdef new file mode 100644 index 0000000..09cceec --- /dev/null +++ b/Assets/07.RKVoiceCommand/RunTime/RKVoiceCommand.RunTime.asmdef @@ -0,0 +1,18 @@ +{ + "name": "RKVoiceCommand.RunTime", + "rootNamespace": "", + "references": [ + "GUID:6447e10b87dc140ab924878c1ecef665", + "GUID:fe14bc9dd681249d19cf4ef377c7e29e", + "GUID:d1a793c2b6959e04ea45b972eaa369c8" + ], + "includePlatforms": [], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [], + "versionDefines": [], + "noEngineReferences": false +} \ No newline at end of file diff --git a/Assets/07.RKVoiceCommand/RunTime/RKVoiceCommand.RunTime.asmdef.meta b/Assets/07.RKVoiceCommand/RunTime/RKVoiceCommand.RunTime.asmdef.meta new file mode 100644 index 0000000..bfec013 --- /dev/null +++ b/Assets/07.RKVoiceCommand/RunTime/RKVoiceCommand.RunTime.asmdef.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +<<<<<<<< HEAD:Assets/05.TableTextConversion/Editor/Excel.meta +guid: 10c9b58b77ad42b4193e2a393b1a9899 +folderAsset: yes +DefaultImporter: +======== +guid: 44e8639d57fc2a94b94ecef44bf1e36a +AssemblyDefinitionImporter: +>>>>>>>> 04.AudioCore:Assets/04.AudioCore/RunTime/AudioCore.RunTime.asmdef.meta + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/07.RKVoiceCommand/RunTime/VoiceCommandController.cs.meta b/Assets/07.RKVoiceCommand/RunTime/VoiceCommandController.cs.meta new file mode 100644 index 0000000..02d14c5 --- /dev/null +++ b/Assets/07.RKVoiceCommand/RunTime/VoiceCommandController.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 9f55b7179dceeae47826f4f0f08ba3fd +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/07.RKVoiceCommand/package.json b/Assets/07.RKVoiceCommand/package.json index b470a0b..3580afe 100644 --- a/Assets/07.RKVoiceCommand/package.json +++ b/Assets/07.RKVoiceCommand/package.json @@ -1,6 +1,6 @@ { "name": "com.staryevo.rkvoicecommand", - "version": "1.0.2", + "version": "1.0.3", "displayName": "07.RKVoiceCommand", "description": "Rokid语音命令工具", "unity": "2021.3", diff --git a/Assets/07.RKVoiceCommand/package.json.meta b/Assets/07.RKVoiceCommand/package.json.meta new file mode 100644 index 0000000..2d5f4e9 --- /dev/null +++ b/Assets/07.RKVoiceCommand/package.json.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: c1e566c37939b1c45885d8ca929414a7 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: