Skip to content
master
Go to file
Code

README.md

Unity ScreenBars

Unity ScreenBars is a Unity script library meant to help developers control the visibility of screen bars on mobile platforms. Currently, it allows developers to programmatically control aspects of the status bar and navigation bar on Android, with iOS being the next targetted platform.

It comes as a free, Unity Package Manager-installable script library.

Unity ScreenBars is a more modern evolution of ApplicationChrome.cs, a script first published as a a blog post.

Advantages

Unity ScreenBars...

  • Plays well with other scripts that might change the current screen bars status (e.g. Screen.fullScreen), complimenting its feature set
  • Offers an easier to use API to control an application's appearance om mobile, specially considering how difficult it is to do so on Android
  • Comes as an Unity Package Manager package, ensuring easy installation and updates
  • Supports Android 4.0 (API 14) and above, downgrading features when needed

Installation

TODO: UPM, manual?

Reference

a ref

Todo

  • See if it's possible to show the bar without overlaying
  • Implement for iOS
  • Finish Android
    • navigationBarVisible
      • doesn't always work to hide, if Screen.fullScreen = false. We already have code to detect this, need to apply solution (set overlsy first?)
    • navigationBarOverlay

About

A Unity package to control the appearance of status and navigation bars on mobile devices

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.