Skip to content

tkyaji/UnityIPhoneXSupport

Repository files navigation

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.

About

Support iPhoneX by changing the drawing area of Unity.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages