From a972605e1cf8122330de5b6ff53857be130972be Mon Sep 17 00:00:00 2001
From: Spring774 <337905794@qq.com>
Date: Thu, 30 Oct 2025 11:59:53 +0800
Subject: [PATCH] 添加华为广告,界面还需要去除不需要华为的地方

---
 assets/Script/Sdk/Sdk.ts |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/assets/Script/Sdk/Sdk.ts b/assets/Script/Sdk/Sdk.ts
index 3282804..60b9760 100644
--- a/assets/Script/Sdk/Sdk.ts
+++ b/assets/Script/Sdk/Sdk.ts
@@ -31,6 +31,9 @@
     public static get isToutiao(): boolean {
         return cc.sys.platform == cc.sys.WECHAT_GAME && typeof window.tt !== 'undefined';
     }
+    public static get isHuawei(): boolean {
+        return cc.sys.platform == cc.sys.HUAWEI_GAME && typeof qg !== 'undefined';
+    }
 
     public static get isFB(): boolean {
         return typeof FBInstant !== 'undefined';

--
Gitblit v1.9.1