再次 清理了一些东西

This commit is contained in:
panw
2025-07-14 17:12:50 +08:00
parent 3a53b5e531
commit a1a6756b6c
14 changed files with 0 additions and 438 deletions

View File

@@ -34,9 +34,7 @@ export class BarCompComp extends CCComp {
}
private readay(){
this.node.getChildByName("bar").active = true
this.node.getChildByName("fbar").active = false
this.node.getChildByName("bar").getChildByName("more").active=false
this.node.getChildByName("fbar").getChildByName("more").active=false
}
private master_called(e:any,data:any){
this.node.getChildByName("bar").active = true
@@ -58,13 +56,6 @@ export class BarCompComp extends CCComp {
}
}).start()
}else{
let barNode = this.node.getChildByName("fbar").getChildByName("ap").getChildByName("val")
tween(barNode).to(0.2, {scale:v3(1.5,1.5,1)},{
onComplete:()=>{
tween(barNode).to(0.1, {scale:v3(1,1,1)}).start()
}
}).start()
}
}
show_master_more(){
@@ -86,24 +77,6 @@ export class BarCompComp extends CCComp {
node.active = false;
}
show_friend_more(){
let barNode = this.node.getChildByName("fbar");
let node = barNode.getChildByName("more");
node.active = true;
node.setScale(v3(1, 0, 1));
console.log("[barcomp]:show_friend_more",node)
// 使用缓动动画放大和移动
tween(node).to(0.2, {scale:v3(1,1,1)}).start()
}
hide_friend_more(){
let barNode = this.node.getChildByName("fbar");
let node = barNode.getChildByName("more");
console.log("[barcomp]:hide_friend_more",node)
// 使用缓动动画放大和移动
tween(node).to(0.2, {scale:v3(1,0,1)}).start()
node.active = false;
}
update_bar(){

View File

@@ -2,19 +2,7 @@ import { _decorator,Button,EventHandler,EventTouch,Label,NodeEventType,resources
import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS";
import { CCComp } from "../../../../extensions/oops-plugin-framework/assets/module/common/CCComp";
import { smc } from "../common/SingletonModuleComp";
import { oops } from "../../../../extensions/oops-plugin-framework/assets/core/Oops";
import { RandomManager } from "../../../../extensions/oops-plugin-framework/assets/core/common/random/RandomManager";
import { SkillSet } from "../common/config/SkillSet";
import { HeroModelComp } from "../hero/HeroModelComp";
import { GameSet } from "../common/config/BoxSet";
import { GameMap } from "./GameMap";
import { MapModelComp } from "./model/MapModelComp";
import { Talent } from "../Role/Talent";
import { Talents } from "../common/config/TalentSet";
import { HeroViewComp } from "../hero/HeroViewComp";
import { Position } from "../../../../extensions/oops-plugin-framework/assets/libs/gui/badge/Badge";
import { MissionHomeComp } from "./MissionHomeComp";
import { GameEvent } from "../common/config/GameEvent";
import { MissionComp } from "./MissionComp";
const { ccclass, property } = _decorator;