This commit is contained in:
tothvillar
2026-07-09 15:04:14 +08:00
commit e896e2ead4
1180 changed files with 115132 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
cc.Class({
extends: cc.Component,
properties: {},
start: function () {
window.tt || (this.node.active = false);
if (window.tt) {
var e = tt.getSystemInfoSync();
console.log("当前平台:" + e.appName);
if ("Douyin" == e.appName && window.GameConfig.showguanzhu) {
this.node.active = true;
} else {
this.node.active = false;
}
}
},
onBtnclickEvent: function () {
window.tt && tt.openAwemeUserProfile();
}
});