UIS Inventory window controll

ymo

Member
In my project, pressing the Tab key in InputEvent opens the inventory window.
So how do I make the inventory window open only when the flag is True?
 
I'm sorry I do not undertand what you mean by "flag".

By default you can define the input to open the inventory here:
1632737289075.png
But if you want to be able to open the Inventory only under certain conditions you can replace the "Display Panel Manager Handler" by a custom component.
If you check out the code you'll see we open panels like so:
Code:
m_DisplayPanelManager.OpenPanel("PanelName");
 
  • Like
Reactions: ymo
Top