This method will set the size of the Parent Size component, which is used in scaling and centering calculations. You only need to call this method if you have explicitly disabled the use of a parent in your game config, but still wish to take advantage of other Scale Manager features.
name | type | description |
---|---|---|
width | number |
The new width of the parent. |
height | number |
The new height of the parent. |
The Scale Manager instance.