Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate changes for release 2.1.0 #4

Merged
merged 6 commits into from
Jul 30, 2022
Merged

Integrate changes for release 2.1.0 #4

merged 6 commits into from
Jul 30, 2022

Conversation

MathewHDYT
Copy link
Owner

No description provided.

Fixed bug that caused the AudioManagerSettings to make NullReferenceExpection, because when restarting a scene that contains one it attempted to create another one overwriting the old one and deleting the AudioSources.
Added custom decorator called FluentAudioManager that allows using the underlying methods as a fluent interface. Meaning multiple methods can be chained into one line. Where an error will result in the following methods in the chain being skipped.
Added new method to deregister children once they are not needed anymore and adjusted RemoveSound to delete the children as well as the underlying AudioSources in the scene.
@codecov
Copy link

codecov bot commented Jul 30, 2022

Codecov Report

Merging #4 (89d0ed5) into main (8a40f1e) will increase coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main       #4      +/-   ##
==========================================
+ Coverage   99.86%   99.88%   +0.02%     
==========================================
  Files          14       16       +2     
  Lines        1447     1728     +281     
==========================================
+ Hits         1445     1726     +281     
  Misses          2        2              
Flag Coverage Δ
unittest 99.88% <ø> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...ts/Scripts/AudioManager/Core/AudioSourceWrapper.cs 100.00% <ø> (ø)
.../Assets/Scripts/AudioManager/Helper/AudioHelper.cs 100.00% <ø> (ø)
...s/Scripts/AudioManager/Locator/NullAudioManager.cs 100.00% <ø> (ø)
.../Assets/Scripts/AudioManager/Logger/AudioLogger.cs 100.00% <ø> (ø)
.../Scripts/AudioManager/Logger/LoggedAudioManager.cs 100.00% <ø> (ø)
...ipts/AudioManager/Provider/AudioManagerSettings.cs 100.00% <ø> (ø)
...ssets/Scripts/AudioManager/Service/AudioChainer.cs 100.00% <ø> (ø)
...cripts/AudioManager/Service/DefaultAudioManager.cs 99.61% <ø> (+0.01%) ⬆️
...Scripts/AudioManager/Service/FluentAudioManager.cs 100.00% <ø> (ø)
... and 5 more

Help us with your feedback. Take ten seconds to tell us how you rate us.

@MathewHDYT MathewHDYT merged commit 125a0aa into main Jul 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant