优化若干代码
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { tween, Node } from 'cc'
|
||||
import { Node, tween } from 'cc'
|
||||
|
||||
export default class TimeHelper {
|
||||
public static exeNextFrame(node: Node, callback: Function) {
|
||||
tween(node).delay(0.02).call(callback).start()
|
||||
}
|
||||
public static exeNextFrame(node: Node, callback: Function) {
|
||||
tween(node).delay(0.02).call(callback).start()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user