碰撞
This commit is contained in:
@@ -43,7 +43,7 @@ export class MapViewComp extends CCComp {
|
||||
/** 转场 */
|
||||
protected update(dt: number): void {
|
||||
if (this.timer.update(dt)) {
|
||||
console.log('每2秒触发一次');
|
||||
// console.log('每2秒触发一次');
|
||||
this.addHero();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user