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

Commit 1b1b841

Browse files
committed
Updated package and samples with latest version
1 parent 2b1f14b commit 1b1b841

File tree

5 files changed

+7
-0
lines changed

5 files changed

+7
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,10 @@ Other notes
165165
Changelog
166166
---------
167167

168+
#### 2014-12-17
169+
170+
* Editor: Audio plays correctly when using the editor window in non-play mode in Unity 5 beta
171+
168172
#### 2014-08-02 ([1.3](https://github.com/zeh/usfxr/releases/tag/1.3))
169173

170174
* Editor: SfxrGameObject instances are properly removed when switching between play and edit mode (no more leftover objects)

build/usfxr.zip

-456 Bytes
Binary file not shown.

samples/SpaceGame/Assets/Scripts/usfxr/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() {

samples/benchmark/Assets/Scripts/usfxr/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() {

samples/main/Assets/Scripts/usfxr/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)