The Scale Manager Resize Event.
This event is dispatched whenever the Scale Manager detects a resize event from the browser.
It sends three parameters to the callback, each of them being Size components. You can read
aspectRatio and other properties of these components to help with
scaling your own game content.
A reference to the Game Size component. This is the un-scaled size of your game canvas.
A reference to the Base Size component. This is the game size.
A reference to the Display Size component. This is the scaled canvas size, after applying zoom and scale mode.