1. 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.
     
  2. you should change CursorEnabled = true to CursorEnabled = false
     
  3. Ha! Thank you! that simple