Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

GloriousPtr/UnityNotchSolution

Repository files navigation

Build Status CodeFactor

platforms GitHub size

Prerequisites

Packages : Device Simulator (For testing inside editor)

Features

  • Easy To Use Notch Solution
  • Plug and Play

NotchIssue
Notch issue

NotchSolution
Notch Solution

Setting Up

  • Grab the latest release from Here and import it.
  • Make a new gameObject as the child of Background image in the panel and rename it to SafeAreaHolder.
  • Attach The SafeArea Script To SafeAreaHolder gameObject.
  • Shift all your UI gameObjects inside the SafeAreaHolder gameObject making them the children of SafeAreaHolder.
  • Open device simulator and switch to any of the notched devices to test.
  • See the below config for more clarification or open the Demo scene.

Config
Config

About

Solve notched/cutout phones layout issue for Unity.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /