Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jackyyang09 authored Sep 1, 2019
1 parent 1fdc2e8 commit 8bd88ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Perfect for game jams, prototypes and if you just want to get started on a proje

7. To play your newly added sound, go into any script file and type the following
```
AudioManager.GetInstance().PlaySoundOnce("Shooting");
AudioManager.instance.PlaySoundOnce("Shooting");
```
- Be sure to replace "Shooting" with the name of your sound!
- Note: The name of the gameObject with the AudioFile component will be the string parameter used in AudioManager's dictionary!
Expand Down

0 comments on commit 8bd88ec

Please sign in to comment.