UnityIPhoneXSupport Save

Support iPhoneX by changing the drawing area of Unity.

Project README

UnityIPhoneXSupport

Overview

Resize the drawing area of Unity and make margins above and below. You can set an image or a single color in the margin.

Before After
Before After

Usage

Import to UnityIPhoneXSupport_Portrait.unitypackage or UnityIPhoneXSupport_Landscape.unitypackage

Settings

On the variables in UnityIPhoneXSupport.cs, you can make the following settings.

headerSize, footerSize / leftSize, rightSize

Sets the size of the margin.

headerColor, footerColor / leftColor, rightColor

Set the color of the margin.

headerImage, footerImage / leftImage, rightImage

Set the image to display in the margin. If you do not want to display the image, leave it empty. Images must be under "StreamingAssets" Directory.

Open Source Agenda is not affiliated with "UnityIPhoneXSupport" Project. README Source: tkyaji/UnityIPhoneXSupport
Stars
59
Open Issues
2
Last Commit
6 years ago

Open Source Agenda Badge

Open Source Agenda Rating