{"id":13663907,"url":"https://github.com/Wagerbit/SoundSystem-For-Unity","last_synced_at":"2025-04-25T18:31:34.601Z","repository":{"id":221795696,"uuid":"183696738","full_name":"Wagerbit/SoundSystem-For-Unity","owner":"Wagerbit","description":"Simple and quickly sound system easy to use for Unity 3D. With this Asset you can deploy a complete Sound System with a few steps.","archived":false,"fork":false,"pushed_at":"2019-04-30T13:30:02.000Z","size":870,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-10T20:38:41.743Z","etag":null,"topics":["csharp","sound","sound-system","unity"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Wagerbit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-26T21:33:57.000Z","updated_at":"2020-09-19T17:35:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"c9ecb564-d755-4a6d-ba1c-84b8b8c909c2","html_url":"https://github.com/Wagerbit/SoundSystem-For-Unity","commit_stats":null,"previous_names":["wagerbit/soundsystem-for-unity"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wagerbit%2FSoundSystem-For-Unity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wagerbit%2FSoundSystem-For-Unity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wagerbit%2FSoundSystem-For-Unity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wagerbit%2FSoundSystem-For-Unity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Wagerbit","download_url":"https://codeload.github.com/Wagerbit/SoundSystem-For-Unity/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250872084,"owners_count":21500763,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","sound","sound-system","unity"],"created_at":"2024-08-02T05:02:40.617Z","updated_at":"2025-04-25T18:31:34.591Z","avatar_url":"https://github.com/Wagerbit.png","language":"C#","funding_links":[],"categories":["C\\#"],"sub_categories":[],"readme":"# SoundSystem For Unity\nSimple and quickly sound system easy to use for Unity 3D.\n\nWith this Asset you can deploy a complete Sound System with a few steps.\n\n## Getting Started\nBegin to import the Asset and Packages folders in you proyect folder.\n\nLater include the SoundSystemBankManager prefab to your hierarchy.\n\n### Creating the AudioMixers\nTo begin you need to create your AudioMixer and configure this with the group what you want.\n\n![](img/CreateAudioMixerGroup.PNG)\n\nLater, configure it adding the volume values like Exposed Parameters, for do this, click in one group and in Inpect tab do a right click\nin the Volume label and click in Expose.\n \n![](img/ExposingParam.PNG)\n\n\nName it like the group for the correct function of the System.\n\n![](img/AddingExposedParamethers.PNG)\n\nHaving this, the next thing is configure the SoundTypes.\n\n### Creating the SoundTypes\nBy default this proyect had insided two commons SoundTypes (GeneralSounds and UISounds) if you want to create your own you need the next things:\n\n* SoundType\n* SoundBank\n\n#### SoundType\nFor this, you can create your own script inheriting from the SoundType class and complete the variables inhered from it or you can copy and paste one\nof the SoundTypes examples like GeneralSound or UISound and change the variables names.\n\nIf you create the script from scratch, you need to create a Enum with the values that you want. This values correspond with the sounds what you'll use in \nthe type. For example, this is the enum for GeneralSoundType:\n\n```csharp\npublic enum GeneralSoundType\n  {\n    MainMenu,\n    Screen1,\n    Screen2,\n    Credits\n  }\n```\n\nIn this class you need to complete a method called GetAudioClip(Enum soundType), you can copy and paste from one of the examples.\n\n#### Sound Bank\nFor create this one, you need copy and paste GeneralSoundBankSO.cs or UISoundBankSO.cs and change the variables names for what you want and modify the CreateAssetMenu attribute.\n\nThis classes implement the InspectMethod classes created by me. This classes are used for execute some methods in the Inpector, for do this, you only\nneed to put the next atribute in the method to inspect:\n\n```\n[InspectMethod]\n```\n\nIn the classes General/UISoundBankSO are used for init the SoundList with the enum values of the SoundType (More easy!).\n\nAfter create the Bank, now you can create the Scriptable Objects of it, by default the path is:\n\nDo right click on your project tab and use \n\n```\nCreate -\u003e SoundSystem -\u003e Scriptable Object -\u003e Audio -\u003e [Your bank]\n```\n\nHaving those classes completed, now you can work with this Asset!\n\nFirst, we need set up the SoundSystemBankManager gameobject imported before:\n\n* Add the AudioMixer created in the first step to AudioMixerMaster in SoundSystemBankManager gameobject.\n* Add the SoundTypes to the SoundType list.\n\nAnd that's all!\n\nTo play an audio you only need to use this line:\n\n```csharp\nSoundSystemBankManager.Instance.PlayAudio(Enum soundTypeEnum, bool stopOnSceneChange)\n```\n\n*stopOnSceneChange is use for keep or not the sound that plays when the scene change.*\n\n## Volume Sliders\nDo you need to change the volume in the options menu? This is going to be easy!\n\nYou only need to create a VolumeSlider!\n\nUse in your hierarchy:\n\n```\nCreate -\u003e UI -\u003e VolumeSlider\n```\n\nAnd that's all!\n\nThe enum showed is filled with the SoundTypes putted in the soundtype list on the SoundSystemBankManager, you only need to put what you want to modify.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWagerbit%2FSoundSystem-For-Unity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FWagerbit%2FSoundSystem-For-Unity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWagerbit%2FSoundSystem-For-Unity/lists"}