cocos / cocos-engine

Cocos simplifies game creation and distribution with Cocos Creator, a free, open-source, cross-platform game engine. Empowering millions of developers to create high-performance, engaging 2D/3D games and instant web entertainment.
https://www.cocos.com/en/creator
Other
8.83k stars 2.05k forks source link

Add Tween.complete/completeAll/completeAllByTarget API to make tween complete immediately #17123

Open dumganhar opened 5 months ago

smallmain commented 5 months ago

Perhaps it would be better to provide apis like these that can update or play to a specific location themselves? 也许同时或只提供像下面这些可以自行 update 或者播放至指定位置的 api 更好?