Search Unity

show bottom navigation bar Android

Discussion in 'Editor & General Support' started by Sonkaru, May 17, 2021.

  1. Sonkaru

    Sonkaru

    Joined:
    Dec 20, 2020
    Posts:
    4
    Hi! I am new to unity, when I test a game on android, the bottom navigation bar of android is hidden by default. Does anyone know how I can do to show the bar permanently? Thank you!



     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,686
    This is the underlying API you need to use:

    https://developer.android.com/training/system-ui/status

    These are probably the classes in Unity to help you do this from C# scripts in Unity:

    https://docs.unity3d.com/ScriptReference/AndroidJavaObject.html
    https://docs.unity3d.com/ScriptReference/AndroidJavaClass.html

    Honestly I would first google around and see if you can find someone else who already made something and put it on a website! Before Unity started hiding this, it was pretty common to have this code to make it go away.

    You might even find a setting in your Unity Project Settings -> Player Settings windows... not sure.