SetWorldMusic
Jump To Parameters
Jump To Function Definitions
Parameter Definitions
Select the parameter name from below to jump directly to it on this page.
randomMusic
The music clip to use.
| Exposed Value | Type | Default Value |
|---|---|---|
| private | AudioClip[] | new AudioClip[] { } |
volume
The volume to set the audio source to.
| Exposed Value | Type | Default Value |
|---|---|---|
| private | float | 0.5f |
Function Definitions
Select the function name from below to jump directly to it on this page.
public void PlayWorldMusic()
Will play the set audio clip at the set volume only after there is a found NetworkManager and UICoreLogic component attached to it in the scene. It will use the UICoreLogic functions to set the audio clip on the UICoreLogic component to the volume and audio clip to use.
| Expose Value | Overrideable | Returns |
|---|---|---|
| public | False | Does not return anything |
No parameters