When I create a panel. I can't play the game anymore. How can I make a panel that is not preventing gameplay.
Right now I use CUIhelper like this;
Code:var elements = new CuiElementContainer(); var beancanPanel = elements.Add(new CuiPanel { Image = { Color = "0.1 0.1 0.1 0.5" }, RectTransform = { AnchorMin = "0.95 0", AnchorMax = "1 1" }, CursorEnabled = true },"Hud","beanCan");
And after that I just add elements to it.
But I cant play anymore.
[DOUBLEPOST=1517902507][/DOUBLEPOST]if I use Hud.Under the panel isnt showing anymore.
UI element preventing game play
Discussion in 'Rust Development' started by Madeindreams, Feb 6, 2018.