This commit is contained in:
dgflash
2022-07-20 18:29:06 +08:00
parent b2bcff1a38
commit 7ab6b8edc3

View File

@@ -67,7 +67,7 @@ export class Test extends Component {
private timeId!: string;
start() {
this.timeId = oops.timer.registerObject(this, "countDown", this.onSecond, this.onComplete);
this.timeId = oops.timer.register(this, "countDown", this.onSecond, this.onComplete);
}
onDestroy() {