Method ApplyScalesOnSize
ApplyScalesOnSize(Vector2Int)
Applies to the passed size the scale imposed by the dynamic resolution system. This function uses the internal resolved scale from the dynamic resolution system. Note: this function is pure (has no side effects), this function does not cache the pre-scale size
Declaration
public Vector2Int ApplyScalesOnSize(Vector2Int size)
Parameters
Type | Name | Description |
---|---|---|
Vector2Int | size | The size to apply the scaling |
Returns
Type | Description |
---|---|
Vector2Int | The parameter size scaled by the dynamic resolution system. |