fix motionstreak api bug (#2588)

This commit is contained in:
Knox
2018-04-25 11:05:23 +08:00
committed by pandamicro
parent e8b7b00a3c
commit 6907cb9ef4
+2 -2
View File
@@ -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();