Animation组件怎么加shader啊

Animation组件如何获得它的sprite对象,看了API没接口!!

试试:animation.getComponent(cc.Sprite)

没用,是个null