We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.8.4
editor
No response
import { _decorator, Component, log, tween } from 'cc'; const { ccclass } = _decorator; @ccclass('Test.UpdateUntil') export class Test_UpdateUntil extends Component { private testNumber = 0 start() { this.startTestTween() } private startTestTween() { log("startTestTween") let ended = false tween(this) .delay(1) .call(()=>{ tween(this) .delay(1) .call(()=>{ ended = true }) .start() this.testNumber++ if(this.testNumber > 1) { debugger } }) //.delay(1) .updateUntil(()=>{ return ended }) .call(()=>{ this.testNumber = 0 this.scheduleOnce(()=>{ this.startTestTween() }, 0.3) }) .start() } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Cocos Creator version
3.8.4
System information
editor
Issue description
Relevant error log output
No response
Steps to reproduce
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: