Search Unity

Add hover/click sfx to elements in UI Builder

Discussion in 'UI Toolkit' started by alanvitek, Jun 30, 2022.

  1. alanvitek

    alanvitek

    Joined:
    Aug 20, 2013
    Posts:
    7
    I'd like to play hover/click sfx on button elements that I've created using UI Builder. Can anyone point me to some resources for accomplishing this? My theory is that I'd need to reference something in a C# script attached to the GameObject the UI is part of but I'm not 100% sure. Thank you!
     
  2. MousePods

    MousePods

    Joined:
    Jul 19, 2012
    Posts:
    811
    alanvitek likes this.