Unity-Technologies / Unity-Technologies/uGUI

An idea of potential improvement of UI event trigger audio source.

Open
#17 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
1.6k
Forks
323
PR merge metrics
No merged PRs in 30d

Description

I didn't manage to find any documentation that for example you can add a shared audiosource to a list of buttons as an event trigger. The standard way I saw was to drag the source to each of them manually, which is a little bit annoying.

For example in a tutorial : https://www.youtube.com/watch?v=LD2gfUKkMD0&list=LL&index=1&t=8962s

Image

for example to apply to these buttons

Image

you need to drag them to event trigger manually.

Would be kinda nice if there is a feature for example, you ctrl select list of buttons, and you apply audio source, then it applies to all of them.

If this idea has already been developed, please close this issue, and apologies.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the manual workflow described in the issue: assign one shared AudioSource to multiple UI buttons through their event triggers. Review the uGUI editor workflow for multi-selecting buttons and applying a shared audio source. Done would mean selecting several buttons and applying the source once, with the event trigger configuration updated for all of them.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, unity
Domain
frontend, game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.