- Home /
uGUI items visible when disabled
I have made a inventory system in my game but I'm having a small issue that when I start my game some elements of my inventory GUI is visible even though their parent is disabled using Inventory_Base.SetActive(isEnabled); while others are not visible.
I can get around this at the moment by toggling the UI on and off using the "Inventory" key. But i want it to be disabled from the start.
I don't know if this is a bug as I'm using the latest beta build or if something else is wrong.
disabledgui.png
(22.7 kB)
Comment