From 33d6b6744ae932a8008300913dd23424827768c1 Mon Sep 17 00:00:00 2001 From: hecomi Date: Fri, 31 May 2024 22:24:02 +0900 Subject: [PATCH] add A.I.VOICE for GAMES support. --- Assets/uLipSync/Editor/BakedDataEditor.cs | 3 +++ Assets/uLipSync/Editor/uLipSync.Editor.asmdef | 10 ++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/Assets/uLipSync/Editor/BakedDataEditor.cs b/Assets/uLipSync/Editor/BakedDataEditor.cs index 9381c7d..2fd4217 100644 --- a/Assets/uLipSync/Editor/BakedDataEditor.cs +++ b/Assets/uLipSync/Editor/BakedDataEditor.cs @@ -70,10 +70,13 @@ void DrawMessage() { _msg.Clear(); +#if USE_AIVOICE_FOR_GAMES +#else if (!data.profile) { _msg.Append("* Please set Profile."); } +#endif if (!data.audioClip) { diff --git a/Assets/uLipSync/Editor/uLipSync.Editor.asmdef b/Assets/uLipSync/Editor/uLipSync.Editor.asmdef index 9593108..e7af867 100644 --- a/Assets/uLipSync/Editor/uLipSync.Editor.asmdef +++ b/Assets/uLipSync/Editor/uLipSync.Editor.asmdef @@ -15,6 +15,12 @@ "precompiledReferences": [], "autoReferenced": true, "defineConstraints": [], - "versionDefines": [], + "versionDefines": [ + { + "name": "jp.ai-j.aivoice-for-games", + "expression": "", + "define": "USE_AIVOICE_FOR_GAMES" + } + ], "noEngineReferences": false -} \ No newline at end of file +}