Hi i need help i am new to unity and coding and i dont know how do i make sound to play
i am making quiz game and here is the script
public void UserSelectTrue()
{
animator.SetTrigger(“True”);
if (currentQuestion.isTrue)
{
Debug.Log(“CORRECT!”);
}
else
{
Debug.Log(“WRONG”);
}
StartCoroutine(TransitionToNextQuestion());
}
I need help like when that code plays it plays the sound
sorry for bad english i am from finland
Thank you for helping ![]()