From 4cb859e7a2f6a01011969673d534ff6202ab921b Mon Sep 17 00:00:00 2001 From: Knox Date: Thu, 16 Aug 2018 14:17:23 +0800 Subject: [PATCH] add PNGReader and tiffReader to ParticleSystem static (#3100) --- cocos2d/particle/CCParticleSystem.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cocos2d/particle/CCParticleSystem.js b/cocos2d/particle/CCParticleSystem.js index 98946b8ed6..a8c50cf9b5 100644 --- a/cocos2d/particle/CCParticleSystem.js +++ b/cocos2d/particle/CCParticleSystem.js @@ -756,6 +756,10 @@ var ParticleSystem = cc.Class({ EmitterMode: EmitterMode, PositionType: PositionType, + + + _PNGReader: PNGReader, + _TIFFReader: tiffReader, }, // EDITOR RELATED METHODS @@ -1165,3 +1169,4 @@ var ParticleSystem = cc.Class({ }); cc.ParticleSystem = module.exports = ParticleSystem; +