dotween icon indicating copy to clipboard operation
dotween copied to clipboard

Help with AsyncWaitForCompletion

Open ajpmirko opened this issue 3 years ago • 1 comments

hi, i'm working on a webgl app and i'm waiting for a task to complete, that looks like this

`            _characterMove = 
                    _character.transform.DOMoveX( 
                                    _points[0].x,
                                    2.0f
            );
            
            await _characterMove.AsyncWaitForCompletion();`

but the app will freeze on await, under unity works well, but it will freeze on the web. any idea?

ajpmirko avatar Sep 27 '22 08:09 ajpmirko

webgl doesn't support threading, use regular callbacks

passivestar avatar Mar 13 '23 18:03 passivestar