Sequine - Scripting API
|
An audio player in a form of MonoBehaviour component as a helper so that audio can be played through UnityEvent set from inspector. More...
Public Member Functions | |
void | PlaySound2D (AudioClip _clip) |
void | PlaySoundAtPosition (AudioClip _clip, Vector3 _position) |
void | PlaySFX2D (string _id) |
void | PlaySFXAtPosition (string _id, Vector3 _position) |
void | PlayME2D (string _id) |
void | PlayMEAtPosition (string _id, Vector3 _position) |
void | PlayBGM (string _id) |
void | PlayBGM (string _id, float _fadeDuration) |
void | PlayAmbience (string _id) |
void | PlayAmbience (string _id, float _fadeDuration) |
void | StopBGM () |
void | StopAmbience () |
Public Attributes | |
bool | restart = true |
An audio player in a form of MonoBehaviour component as a helper so that audio can be played through UnityEvent set from inspector.
void Calcatz.CookieCutter.Audio.AudioPlayer.PlayAmbience | ( | string | _id | ) |
void Calcatz.CookieCutter.Audio.AudioPlayer.PlayAmbience | ( | string | _id, |
float | _fadeDuration | ||
) |
void Calcatz.CookieCutter.Audio.AudioPlayer.PlayBGM | ( | string | _id | ) |
void Calcatz.CookieCutter.Audio.AudioPlayer.PlayBGM | ( | string | _id, |
float | _fadeDuration | ||
) |
void Calcatz.CookieCutter.Audio.AudioPlayer.PlayME2D | ( | string | _id | ) |
void Calcatz.CookieCutter.Audio.AudioPlayer.PlayMEAtPosition | ( | string | _id, |
Vector3 | _position | ||
) |
void Calcatz.CookieCutter.Audio.AudioPlayer.PlaySFX2D | ( | string | _id | ) |
void Calcatz.CookieCutter.Audio.AudioPlayer.PlaySFXAtPosition | ( | string | _id, |
Vector3 | _position | ||
) |
void Calcatz.CookieCutter.Audio.AudioPlayer.PlaySound2D | ( | AudioClip | _clip | ) |
void Calcatz.CookieCutter.Audio.AudioPlayer.PlaySoundAtPosition | ( | AudioClip | _clip, |
Vector3 | _position | ||
) |
void Calcatz.CookieCutter.Audio.AudioPlayer.StopAmbience | ( | ) |
void Calcatz.CookieCutter.Audio.AudioPlayer.StopBGM | ( | ) |
bool Calcatz.CookieCutter.Audio.AudioPlayer.restart = true |