Design The Sound
How a sound would be played and how it will behave is all set in Entity.
Last updated
How a sound would be played and how it will behave is all set in Entity.
Last updated
Click the text field to name the entity when it's unfolded.
πThe name will be used in the SoundID dropdown menu, so a meaningful name is recommended.
The AudioType of the entity, it can be utilized by the API such as SetVolume(AudioType) or SetEffect(AudioType) ...etc. Choose the type that suits your needs.
πChanging the AudioType will re-generate a new SoundID, which means the reference to this entity that you've saved in your scene or scriptable object will be gone.
All settings and features in LibraryManager can be utilized without the need for any coding or API usage. Such as , , ...etc.
The list that stores all the Audio Clips. Each clip can have different parameter settings, and they will be picked by the PlaybackMode setting when it's played at runtime. The parameters will be shown when one of the clips is selected.
When an entity is played, it will follow the rule of the following options to pick an Audio Clip.
Single: always play the first AudioClip.
Sequence: The first playback will be at index 0, the second will be at index 1, and so on. After playing the last AudioClip, the next playback will return to index 0.
: It will randomly select one AudioClip based on its weight. Probability is calculated as Weight/Total sum of all weights.
: Plays audio clips randomly, ensuring that no clip is repeated until all clips in the list have been played.
: Play clip by the specified number.
π if there is only one AudioClip, the options won't show, and it will use Single mode
Volume The audio volume that the clip will be played. More details on the page.
Start: The starting point of the clip. End: The ending point of the clip. In: The duration time of the fade-in process. Out: The duration time of the fade-out process. Delay: The duration time before the entity plays.
The playback position can be controlled by dragging the icon on the waveform GUI, and the green guiding line could help you see the playback flow more clearly.
The audio volume that the entity will be played. It is useful when using multiple clips in an entity. More details on the page.
β This setting supports π² ! Click the [RND] button to set its random range.
β This setting supports π² ! Click the [RND] button to set its random range.
The same as AudioSource's priority.
Let the entity automatically replay when it ends. More details in .
The same as AudioSource's 3D Sound Settings (), but it's optional instead of built-in in all entities. If the sound needs positioning, then click the [Create And Open] button to create a spatial setting asset and open its editor window.