Class play audio clip.
More...
Inherits MonoBehaviour.
Inherited by AudioStreamSystem.
Track AudioSystem.CreateTrack |
( |
) | |
|
Creates the track. Binding to this AudioSystem
- Returns
- The track.
Gets the multiplied groups setting of sound.
- Returns
- Audio setting
- Parameters
-
auidoOption | Auido group setting. |
Gets the group setting of sound.
- Returns
- Audio setting
- Parameters
-
auidoOption | Auido group setting. |
List<Track> AudioSystem.GetTracks |
( |
) | |
|
Gets all playing or paused tracks.
- Returns
- The tracks.
bool AudioSystem.IsPlay |
( |
Track |
track) | |
|
Determines whether this instance is play the specified track.
- Returns
true
if this instance is play the specified track; otherwise, false
.
- Parameters
-
void AudioSystem.Pause |
( |
Track |
track) | |
|
Pause sound track.
- Parameters
-
Track AudioSystem.Play |
( |
AudioClip |
clip) | |
|
Play sound the specified clip.
- Parameters
-
Play sound the specified clip and option.
- Parameters
-
clip | Audio clip. |
option | Play option. |
Play sound the specified clip, target and option.
- Parameters
-
clip | Audio clip. |
target | Aim to follow |
option | Play option. |
- Exceptions
-
System.ArgumentException | Is thrown when clip == null |
Play sound the specified track and option.
- Parameters
-
track | Sound track. |
option | Play option. |
Play the specified track.
- Parameters
-
void AudioSystem.Stop |
( |
Track |
track) | |
|
Stop the sound track.
- Parameters
-
virtual void AudioSystem.StopAll |
( |
) | |
|
|
virtual |
bool AudioSystem.isSpawnMode |
|
getset |
Gets a value indicating whether this AudioSystem is spawn mode.
true
if use spawn pool; otherwise, false
.
int AudioSystem.limitCount |
|
get |
Gets the count spawn sound with option LIMIT.
The count.
int AudioSystem.poolCapacity |
|
get |
Gets the pool capacity
The count.
Gets the local with global group setting of sound
- Parameters
-
option | Auido group setting. |
The documentation for this class was generated from the following file:
- SimpleAudioManager/Scripts/AudioSystem.cs