if(Input.GetKeyDown(KeyCode.W))
{
audio.Play();
}
else if(Input.GetKeyDown(KeyCode.A))
{
audio.Play();
}
else if(Input.GetKeyDown(KeyCode.S))
{
audio.Play();
}
else if(Input.GetKeyDown(KeyCode.D))
{
audio.Play();
}
else audio.Stop();
↧