Skip to content
This repository was archived by the owner on May 9, 2025. It is now read-only.

Conversation

@jeffcampbellmakesgames
Copy link
Contributor

Summary

Over the last few game jams, I've used a one-off audio playing system each time which listened to an AudioClip GameEvent to allow other systems to be able to play audio in a decoupled way. I've done it enough to where I believe this would be a viable, generally useful addition to the core ScriptableArchitecture library. For this I've created the following:

  • AudioClipGameEvent
  • AudioClipUnityEvent
  • AudioClipGameEventListener

I did not add any icons to the scripts listed above, but that would also be a good thing to do before this is merged in.

In addition, I've hidden a warning via #pragma in the console that appears for private serialized fields in SceneVariable that is a false positive.

* Added pragma warning disable for private serialized field, prevents warning in Unity console.
* Created AudioClip UnityEvent, GameEvent, and Listener.
@DanielEverland DanielEverland added this to the Release 1.6.2 milestone Oct 29, 2019
@DanielEverland DanielEverland self-assigned this Oct 29, 2019
@jeffcampbellmakesgames
Copy link
Contributor Author

Hey, I realize you're probably busy; just bumping this as a reminder.

@DanielEverland
Copy link
Owner

No worries, I'll probably find time this weekend :)

@jeffcampbellmakesgames
Copy link
Contributor Author

Appreciate it! Thanks Daniel

Sent with GitHawk

@DanielEverland DanielEverland merged commit 2bce4d2 into DanielEverland:master Nov 8, 2019
@DanielEverland
Copy link
Owner

Thanks for the PR! :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants