chore:剔除无关内容

This commit is contained in:
2026-07-15 11:38:16 +08:00
parent 901df08646
commit 447f311e39
77 changed files with 1874 additions and 14022 deletions
+3 -15
View File
@@ -1,4 +1,4 @@
import { _decorator, animation, Animation, AnimationComponent, Button, Component, EventTouch, Input, input, instantiate, Label, math, Node, Prefab, randomRange, randomRangeInt, screen, Screen, sys, tween, Vec2, Vec3, view } from 'cc';
import { _decorator, animation, Animation, AnimationComponent, Button, Component, EventTouch, Input, input, instantiate, Label, math, Node, Prefab, randomRange, randomRangeInt, screen, Screen, tween, Vec2, Vec3, view } from 'cc';
import { PanelBase } from '../framework/ui/PanelBase';
import { FPSCameraController } from '../FPSCameraController';
import { GameController } from '../GameController';
@@ -137,14 +137,8 @@ export class PlayPanel extends PanelBase {
}
onClickQingBao() {
if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
tt.reportAnalytics('use_prop', {
level: GameController.getInstance().curLevel.levelIndex,
});
}
AudioMgr.inst.playOneShot(AssetController.instance.click)
SdkMgr.instance.playerRewardAds(() => {
SdkMgr.instance.requestReward(() => {
UIManager.instance.openPanel(QingBaoPanel)
this.closeTip()
@@ -165,14 +159,8 @@ export class PlayPanel extends PanelBase {
offset: Vec2
onClickSaoMiao() {
if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
tt.reportAnalytics('use_prop', {
level: GameController.getInstance().curLevel.levelIndex,
});
}
AudioMgr.inst.playOneShot(AssetController.instance.click)
SdkMgr.instance.playerRewardAds(() => {
SdkMgr.instance.requestReward(() => {
this.saoMiaoTip.active = true
GameController.getInstance().curLevel.SetSaoMiaoTarget()
this.offset = new Vec2(randomRange(-200, 200), randomRange(-200, 200))