Forum rules - please read before posting.

Dialoglist offset buttons persist in UI prefab

Hi adventure creators!

I'm trying to get Shift Offset Previous/Next buttons to work with a UI prefab Conversation menu.
I have two buttons in the Conversation Menu with 'Only show when effective' enabled.

In AC mode, this works as expected and only displays an offset button when necessary.
In UI prefab mode, the buttons always remain visible.

These are my settings:
Conversation Menu:
image

Conversation UI Prefab UP button:
image

UP Animator triggers:
image

The disabled state is never triggered during gameplay.
Anyone spot anything I overlooked?

AC: 1.73.3
Unity: 2019.4.21f1

Comments

  • Your "When invisible" property is set to "Disable Object", which ought to disable the GameObject entirely.

    To instead have it prevent the Button from being interactive, change this to "Disable Interactability".

  • Yes, but I want it to go invisible when not effective, not disable interactivity.
    And that’s what isn’t working with the ui prefab.
    With an ac menu, it works though.
  • Disabling interactivity should invoke its "Disabled" animation state - so it's a case of either disabling the object, or animating the state to appear invisible.

    I say "should", because I've recreated the issue - UI-based Buttons aren't changing their state properly. Thanks for the report - I'll look into it.

  • Excellent, thanks for helping out!

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.