Demigiant / dotween

A Unity C# animation engine. HOTween v2
http://dotween.demigiant.com
Other
2.3k stars 346 forks source link

Help with AsyncWaitForCompletion #599

Open ajpmirko opened 1 year ago

ajpmirko commented 1 year ago

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?

passivestar commented 1 year ago

webgl doesn't support threading, use regular callbacks