viewport-mask
viewport-mask copied to clipboard
Designed as a bandaid fix for iPhoneX development in Unity.
Viewport Mask
Initially designed as a bandaid fix for iPhone X development in Unity.
Getting Started
Drop the folder into your project's Assets/ folder. Select the "Viewport Mask" prefab from the Prefabs/ folder and drop it anywhere in your scene.
For the most updated documentation, please visit: https://docs.google.com/document/d/1JMXDc0q3PZDFplgjliQiOqD4KytTCSsQM_U7sP6Dmj0/edit
Video Demo: https://www.youtube.com/watch?v=gw7wrnkA3RE
Prerequisites
Be sure to switch your project into iOS in the build settings and add 2 custom resolutions for iPhone X. For landscape, use 2436x1125 and for portrait use 1125x2436.
Built With
- Apple UI Design Resources - Images and reference sizing used
- iPhone X Design Guidelines - iPhone X Design Guidelines specifics submitting pull requests to us.
Authors
- Warren Wang - Initial work - Qoobit
License
This project is licensed under the MIT License - see the LICENSE.md file for details
Acknowledgments
- N/A