hi,

i just added object HUD into my npc like this
img

but when i open menu it still visible img
how can i disable it only when im on menu screen?

  • edited September 24
    The display order of UI is handled by the UI layers they use.
    If you want object HUDs to be shown behind menus, add a UI layer below those of the menus and set the HUDs to use that layer.

    You can also use a game state condition - a new project should have the In Menu game state for this. If not, you can set up a new game state using the Menu Open and Menu Close auto active/inactive types.
    Post edited by gamingislove on
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • hi,

    thank you! i fixed it by making a new ui layer for this.

    regarding game state
    under Active State Schematic
    there is Initialization Use checkbox, but i couldnt understand what the difference when checking it or disabling it.. ( the schematic still run with it checked / unchecked)
  • This handles if the schematic should also run when the game state is first initialized (or reset). E.g. when starting a new game.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Sign In or Register to comment.