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 +}