public void SetMusicAndPlay(string path, bool loop = true) { music.SetClip(Resources.Load <AudioClip>(path), loop); music.Play(); }
public void SetMusicAndPlay(string path, bool loop = true) { music.SetClip(Resources.Load <AudioClip>(path), loop); music.Play(); }