Method CalculateRatioAgainstMaxSize
CalculateRatioAgainstMaxSize(int, int)
Returns the ratio against the current target's max resolution
Declaration
public Vector2 CalculateRatioAgainstMaxSize(int width, int height)
Parameters
| Type | Name | Description |
|---|---|---|
| int | width | width to utilize |
| int | height | height to utilize |
Returns
| Type | Description |
|---|---|
| Vector2 | retruns the width,height / maxTargetSize.xy ratio. |