A couple of more deprecations after moving from v4 to v5 (#5951)
A couple of more deprecations after moving from v4 to v5 (#5951)

* Adding some more deprecations after moving from v4 to v5

* Added @readonly tag
Update comments for style consistency

GoodBoyDigital/pixi.js,pixijs/pixi.js,pixijs/pixi.js