mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 15:52:40 +08:00
fix motionstreak api bug (#2588)
This commit is contained in:
@@ -242,8 +242,8 @@ var MotionStreak = cc.Class({
|
||||
* !#zh 删除当前所有的拖尾片段。
|
||||
* @method reset
|
||||
* @example
|
||||
* // stop particle system.
|
||||
* myParticleSystem.stopSystem();
|
||||
* // Remove all living segments of the ribbon.
|
||||
* myMotionStreak.reset();
|
||||
*/
|
||||
reset: function () {
|
||||
this._motionStreak.reset();
|
||||
|
||||
Reference in New Issue
Block a user