Skip to content
This repository was archived by the owner on Oct 11, 2020. It is now read-only.

Commit 2b1f14b

Browse files
committed
Audio plays correctly when using the editor window in non-play mode in Unity 5 beta
1 parent 411faad commit 2b1f14b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/SfxrAudioPlayer.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ void Start() {
5454
soundSource.volume = 1f;
5555
soundSource.pitch = 1f;
5656
soundSource.priority = 128;
57+
soundSource.Play();
5758
}
5859

5960
void Update() {

0 commit comments

Comments
 (0)