mirror of
https://gitee.com/dgflash/oops-framework.git
synced 2026-09-03 02:23:47 +08:00
.
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user