Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Loading Audio Clips

Discussion in 'Audio & Video' started by Goodeddie, Aug 23, 2016.

  1. Goodeddie

    Goodeddie

    Joined:
    Aug 3, 2016
    Posts:
    79
    Hello.

    Do I have to load audio from the resources folder?
     
  2. willemsenzo

    willemsenzo

    Joined:
    Nov 15, 2012
    Posts:
    585
    That depends on what you're trying to do. You could either populate the inspector with AudioClip variables, or use Resources.Load if you want to have a more dynamic aproach (for example if you need to load different clips all the time).
     
  3. Goodeddie

    Goodeddie

    Joined:
    Aug 3, 2016
    Posts:
    79
    I see. Hmm if I just load them in the beginning, does that mean the user will see the Unity3D splash screen longer?