Forum rules - please read before posting.

Trigger ActionList when using Menu Slider

Unity 2018.3.6f1 Personal
AC v1.66.7

In the Options menu, which is included in the 2D Demo, it would be great when using the volume sliders for a SFX, SPEECH or Music audio file could be played on release of the mouse button, so the user could monitor the level in the menu. There does not appear to be a place to link an ActionList to it. Does the Click Sound attached default as an SFX type?

Comments

  • There does not appear to be a place to link an ActionList to it.

    An ActionList on change field is available, but this will run whenever the value is changed, not on release of the mouse. If the Menu is linked to Unity UI, however, you could define an extra "On Mouse Up" event on the UI Button component itself to run the ActionList manually by invoking its Interact function.

    Does the Click Sound attached default as an SFX type?

    Yes.

  • I can see the ActionList on Change field. Am I missing something?

  • My mistake - it's only visible if the slider affects a variable or a custom script.

    I don't see the harm in exposing for the other types, however - I'll look into this.

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.