BroAudio
Quick StartScripting APIAsset Store
  • Overview
    • Introduction
    • Getting Started
    • Compatibility
  • Core Features
    • Library Manager
      • Create The Library
      • Design The Sound
        • 🔊Volume
        • 🎚️Fading
        • 🔁Looping
        • 🎲Randomization
        • 💪Velocity
        • 🎛️Spatial & Mix
    • Audio Player
      • Music Player
      • Dominator Player
    • Playback Group
    • Audio Effect
    • No-Code Components
      • Sound Source
      • Sound Volume
      • Spectrum Analyzer
    • Addressables
    • Customization
  • Designs
    • Audio Mixer
  • Tools
    • Audio Clip Editor
    • Audio Effect Editor
    • Useful Attrubutes
  • Reference
    • Scripting API
      • Class
        • BroAudio
        • SoundSource
        • BroAdvice
      • Interface
        • IAudioPlayer
        • IMusicPlayer
        • IPlayerEffect
        • IAutoResetWaitable
        • IAudioSourceProxy
      • Struct
        • SoundID
        • Effect
        • Fading
      • Enums
        • BroAudioType
        • EffectType
        • StopMode
        • Transition
        • Ease
    • Unity API Integration
    • Audio Terminology
    • Technical Details
  • Others
    • Release Notes
    • Known Issues
      • Duplicate SoundID Issue
    • Roadmap
    • Support & Contact
Powered by GitBook
On this page
  • Public Variables
  • Extension Method
  1. Reference
  2. Scripting API
  3. Struct

SoundID

To address Entity in the inspector

Last updated 7 months ago

NameSpace
Accessibility

Ami.BroAudio

public

Public Variables

Variable
Type
Description

ID

int

A unique ID for an

Extension Method

Method
Return
Parameters
Description

ToAudioType

Convert ID to AudioType

ToName

string

Get the name of the ID

IsValid

bool

Checks if this ID is available at runtime

GetAudioClip

Get the AudioClip based on the setting of the

int velocity

Get the AudioClip based on the setting of the

Play

Same as

Vector3 position

Same as

Transform followTarget

Same as

BroAudioType
AudioClip
AudioClip
Velocity
IAudioPlyer
IAudioPlyer
IAudioPlyer
PlayMode
Entity
Entity
Entity
Entity
BroAudio.Play()
BroAudio.Play()
BroAudio.Play()