Updated docs for pc.SpriteComponent.spriteAsset to allow for pc.Asset or Number (#3080)
Updated docs for pc.SpriteComponent.spriteAsset to allow for pc.Asset or Number (#3080)

* Added pc.Asset as possible type for spriteAsset property

* Updated documentation on animation clip

* Update src/framework/components/sprite/component.js

Co-authored-by: Will Eastcott <37d41699bdee4fcb969ca499eb0f8b82c60d59cc@playcanvas.com>

* Update src/framework/components/sprite/component.js

Co-authored-by: Will Eastcott <37d41699bdee4fcb969ca499eb0f8b82c60d59cc@playcanvas.com>

Co-authored-by: Steven Yau <0dbe529c4dfad996667815f32902cb3a2b94c94f@stevenyau.co.uk>
Co-authored-by: Will Eastcott <37d41699bdee4fcb969ca499eb0f8b82c60d59cc@playcanvas.com>
MicroWorldwide/PlayCanvas,playcanvas/engine,MicroWorldwide/PlayCanvas,playcanvas/engine