-
Notifications
You must be signed in to change notification settings - Fork 24
Scripts.UISounds
Wesley Haws edited this page Jan 1, 2017
·
2 revisions
##Scripts - UISounds
###What does this do?
Plays sounds when mouse clicks, hovers, or exit UI elements.
###Who/What is this for?
This is for the GUI Object only.
###Setup
Parameter | Type | Description |
---|---|---|
Sound Controller | AudioSource | The AudioSource to play all of these sounds. |
Mouse Enter | AudioClip | When mouse hovers over UI object play this sound. |
Mouse Exit | AudioClip | When mouse stops hover/leaves UI object play this sound. |
Mouse Click 1 | AudioClip | When the mouse clicks on UI Object play this sound. |
Mouse Click 2 | AudioClip | When the mouse clicks on UI Object play this sound. |
Mouse Click 3 | AudioClip | When the mouse clicks on UI Object play this sound. |
Lock Click 1 | AudioClip | Puzzle button sound effect. |
Lock Click 2 | AudioClip | Puzzle button sound effect. |
Lock Click 3 | AudioClip | Puzzle button sound effect. |
Puzzle Enter | AudioClip | When mouse hovers over puzzle UI play this sound. |
Puzzle Exit | AudioClip | When mouse leaves puzzle UI Object play this sound. |
The following is a list of github repositories that made all of this possible:
delta patches: https://github.com/OctopusDeploy/Octodiff
.net 4 implemented in Monodevelop: https://github.com/mono/mono
Tuples In Unity: https://gist.github.com/michaelbartnett/5652076
Octodiff: https://github.com/OctopusDeploy/Octodiff
Input Manager: https://github.com/daemon3000/InputManager