@property(cc.Node)
RightAnimation = null; //编辑器正常
@property(cc.Animation)
LeftAnimation = null;//编辑器显示Type(Unknow)
this.RightAnimation.components[4].play(); //正常
this.RightAnimation.getComponent(cc.Animation).play();//报错 Uncaught TypeError: Cannot read property ‘components’ of null