Search Unity

unity5 Ui Onclick change audio clib ?

Discussion in 'Audio & Video' started by DRIVER1ksa, Jul 21, 2016.

  1. DRIVER1ksa

    DRIVER1ksa

    Joined:
    May 29, 2015
    Posts:
    27
    i have multiple audio clip. for android game
    music 1 ,music2 ,music3 i want change between them when click Ui

    i search while not found any example
     
  2. rorywalsh

    rorywalsh

    Joined:
    Apr 10, 2015
    Posts:
    113
    Just change the AudioClip property of your AudioSource.