Window Incets Controller For Unity v.1.7

Supported OS : Android

32 & 64 bit Android 8.0+ (Sdk 26)

If you need any help, please contact me at amaiichigopurin@gmail.com

 

// how to start

 

  1. Add WindowIncetsController prefab to your scene
  2. Configure default settings in the editor inspector

 

C# Code Reference

// core methods

 

  • WindowIncetsControlCenter.Init(bool StatusBar, bool NavigationBar, bool LightStatusBar, bool LightNavigationBar)

Initiate the plugin with default states of system bars.

💡 You can automatically initiate the plugin with WindowIncetsController.cs



// C# public variables

 

  • bool WindowIncetsController.StatusBar  

Set or get status bar state. Set this True to enable the status bar.

💡 WindowIncetsController.StatusBar = true; (enables the status bar)

 

  • bool WindowIncetsController.NavigationBar  

Set or get navigation bar state. Set this True to enable the navigation bar.

💡 WindowIncetsController.NavigationBar = true; (enables the navigation bar)

 

  • bool WindowIncetsController.LightStatusBar  

Set or get navigation bar light mode state. Set this True to enable light mode (darkens the items on the status bar)

💡 WindowIncetsController.LightStatusBar = true; (darkens the items on the status bar)

  • bool WindowIncetsController.LightNavigationBar  

Set or get navigation bar light mode state. Set this True to enable light mode (darkens the items on the navigation bar)

💡 WindowIncetsController.LightNavigationBar = true; (darkens the items on the navigation bar)

 

  • Color WindowIncetsController.StatusBarColor

Set or get color of the status bar.

💡 WindowIncetsController.StatusBarColor = new Color(0, 0, 0, 0); (makes the status bar transparent)

 

  • Color WindowIncetsController.NavigationBarColor

Set or get color of the navigation bar.

💡 WindowIncetsController.NavigationBarColor = Color.Red; (makes the navigation bar red)

 

  • Int WindowIncetsController.GetStatusBarHeight

Returns height of the status bar.

 

  • Int WindowIncetsController.GetNavigationBarHeight

Returns height of the navigation bar.

Status & Navigation Bar (Android)

 

Status & Navigation Bar is a plugin that simplifies the implementation of system bars for android platform.

 

Highlights
▪ Intuitive API with simple codes.
▪ Easy-to-use custom made inspector.
▪ Enable/disable status bar and navigation bar.
▪ Enable/disable light mode for the system bars.
▪ Change colors of the system bars.
▪ Change transparency of the system bars.

Platform Supported
32 & 64 bit Android 8.0+
Android 10+ Support (uses different native codes)