Forum rules - please read before posting.

problems with gui after turning it to prefabs

I had a working gui, but it was on first introductionary scene. And since I got basic tech in order I started to do real game scenes I wanted to make menus prefabs, but something happened. I split Ingame menu in two, where there's lower left menu and an ingame inventory top right. They have a panel set to their sizes, but for some reason, gui seems to get all clicks now - so no gameplay. If I turn them off, gameplay seems normal.

Here's some images:
https://imgur.com/6WLNXH9
https://imgur.com/sBbKL2e

Comments

  • So this is still one Menu as listed in the Menu Manager? What area does the "RectTransform boundary" cover?

    Clicks inside this RectTransform will be considered to be on the menu, so having it cover the screen will give you issues with your game's interactivity.

    This boundary, however, should typically span the menu's contents - particularly if it changes position, or is resized due to dynamic borders brought on by an enforced aspect ratio. The cleanest approach would be to split your menu into two, each with their own boundary that just covers their own contents.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.