diff --git a/Assets/ButtonSoundAdder.cs b/Assets/ButtonSoundAdder.cs new file mode 100644 index 00000000..f7110b5b --- /dev/null +++ b/Assets/ButtonSoundAdder.cs @@ -0,0 +1,23 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.UI; + +public class ButtonSoundAdder : MonoBehaviour +{ + public Button[] AllButtons; + void Start() + { + if (AllButtons.Length == 0) + { + AllButtons = FindObjectsOfType