View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0.0
- Last updated
- First released
- Unity version
- 2021.3.6 or later
- Package size
- 48 KB
- Files
- 9
- Favorites
- 69
- Views in the past week
- 13
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- Free on
Keywords
Camera Scaler
Camera Scaler component, that works just like Canvas Scaler (Making camera match width instead of height, Expand/Shrink modes, etc)
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 4
Camera Scaler screenshot 1
About this asset
Unity's default camera behaviour is that it's keeping camera height th same, and adjusted the width according to current screen's aspect ratio. This asset adds several new modes of camera scaling. From simple ConstantWidth mode, that works the same way, but keeping width instead of height constant. To more complex Expand mode, that always keeps selected "safe area" within camera, regardless of aspect ratio and screen size, and several others. All modes work with othographic and perspective (2d and 3d) cameras
It is super useful for mobile games, where screen sizes and aspects differs a lot, but can help on other platforms too
From the publisher's Asset Store listing.
Technical details
Supports all platforms, Legacy, URP & HDRP Cameras, and all screen sizes
You can find detailed description and documentation at: https://emeraldpowder.github.io/unity-assets/camera-scaler
Compatibility
| Unity version | Built-in | URP | HDRP |
|---|---|---|---|
| 2021.3.6f1 | Compatible | Compatible | Compatible |
As listed on the Asset Store.