Forum rules - please read before posting.

Problem Turn off menu

2»

Comments

  • edited November 11

    Is there perhaps a translation barrier here? The behaviour should be the opposite, if you're disabling interactivity.

    "Turning off" a menu should hide it, visually. Hiding it will disable the Button.

    When using Unity UI, turning off the Menu will disable its UI Canvas prefab. Are you saying that the Button is still visible despite the UI disabling?

    Sending me the project, with instructions, will remove all ambiguity.

  • edited November 12

    Yes, there is a little translation problem I think. Sorry.

    To explain, I can't get my hotspot menu to be visible on the screen and not clickable.
    I thought of adding an image on the menu icon with raycast target checked, which allows you to block the interaction and therefore control the image by making it visible or invisible.
    But I thought we could do that directly with AC.

  • edited November 12

    I did it like that and now it works.

    I added an image that I called blocker in the UI with the Target raycast checkbox checked.

    In the menu I added a graphic element with the blocker image that I attached..

    In the actionlist of the button on onclick I put this:

    And in the actionlist at the launch of the game I made a Hide Menu Element of the image blocker so that it is hidden from the beginning.

    Was there another way to do things with AC because I couldn't find any other way ?

  • That way will work, but simply hiding the hotspot element itself should also work. As I mentioned, it works for me on my end. I cannot tell you why it does not for you without seeing the project for myself.

  • I don't really understand why either. For now I'm going to keep this solution.

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.