diff --git a/Editor/Plugins/minihost-plugin.editor.dll b/Editor/Plugins/minihost-plugin.editor.dll index 6ec9c143..604d0085 100644 Binary files a/Editor/Plugins/minihost-plugin.editor.dll and b/Editor/Plugins/minihost-plugin.editor.dll differ diff --git a/Editor/Scripts/TJExtDef.cs b/Editor/Scripts/TJExtDef.cs index c558b530..f58b97ee 100644 --- a/Editor/Scripts/TJExtDef.cs +++ b/Editor/Scripts/TJExtDef.cs @@ -90,6 +90,16 @@ private static void Init() #else TJExtEnvDef.SETDEF("WEIXINMINIGAME", false); #endif +#if UNITY_MINIGAME + TJExtEnvDef.SETDEF("UNITY_MINIGAME", true); +#else + TJExtEnvDef.SETDEF("UNITY_MINIGAME", false); +#endif +#if MINIGAME_SUBPLATFORM_TAPTAP + TJExtEnvDef.SETDEF("MINIGAME_SUBPLATFORM_TAPTAP", true); +#else + TJExtEnvDef.SETDEF("MINIGAME_SUBPLATFORM_TAPTAP", false); +#endif #if TUANJIE_2022_3_OR_NEWER TJExtEnvDef.SETDEF("TUANJIE_2022_3_OR_NEWER", true); #else