This commit is contained in:
panw
2025-01-07 16:42:40 +08:00
parent 1c9c19c965
commit b9fa8c5d71
5 changed files with 55 additions and 9 deletions

View File

@@ -17,7 +17,7 @@ export class TgCom extends Component {
update(deltaTime: number) {
if(smc.mission.pause) return
this.cd+=deltaTime
if(this.cd>=1){
if(this.cd>=this.base.cd){
// this.node.setPosition(v3(-1000,0,0))
this.node.active = false
this.node.active = true