GameComponent添加批量绑定Button触摸事件功能

This commit is contained in:
donggang
2024-03-12 09:37:29 +08:00
parent 1f1a863734
commit 4edb3b0d6c
2 changed files with 15 additions and 2 deletions

View File

@@ -74,7 +74,7 @@ export class TimerManager extends Component {
}
}
*/
register(object: any, field: string, onSecond: Function, onComplete: Function): any {
register(object: any, field: string, onSecond: Function, onComplete: Function): string {
var timer = new Timer();
timer.step = 1;