MCQs > IT & Programming > Unity3D > Play an audio clip using the following code statement?

Unity3D MCQs

Play an audio clip using the following code statement?

Answer

Correct Answer: public AudioClip gameClip; void Update() { if(StartingQuest) { playMusic(); } } void playMusic() { audio.clip = gameClip; audio.Play(); audio.volume = 1.0f; audio.loop = false; }

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Unity3D Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Unity3D Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it