mirror of
https://github.com/DerTyp7/harvestdale-unity.git
synced 2025-10-29 04:42:08 +01:00
Toggle Hotbar on inv open
This commit is contained in:
@@ -22,11 +22,12 @@ public class InventoryUI : GuiPanel
|
|||||||
CreateSlots();
|
CreateSlots();
|
||||||
}
|
}
|
||||||
UpdateSlots();
|
UpdateSlots();
|
||||||
|
GuiManager.Instance.ClosePanel("Hotbar");
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void OnClose()
|
public override void OnClose()
|
||||||
{
|
{
|
||||||
|
GuiManager.Instance.OpenPanel("Hotbar");
|
||||||
}
|
}
|
||||||
private void CreateSlots()
|
private void CreateSlots()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user