Inherits MonoBehaviour.
|
virtual void | PlayAll () |
| Play all layers that are on the same GameObject as this component. More...
|
|
virtual void | PlayAll (float fadeInDuration, bool ignoreTimeScale=true) |
| Play all layers that are on the same GameObject as this component. More...
|
|
virtual void | StopAll () |
| Stop all currently playing layers. More...
|
|
virtual void | StopAll (float fadeOutDuration, bool ignoreTimeScale=true) |
| Stop all currently playing layers. More...
|
|
virtual void | PlayStopAll (bool fadeInOut=true) |
| Toggle between on and off of all layers. More...
|
|
virtual void | StartAutopilot () |
| Automatically cross-fade between different layers. Autopilot uses properties of this component. More...
|
|
virtual void | StartAutopilot (int numInitTracks, float fadeInDuration=3f, bool ignoreTimeScale=true) |
| Automatically cross-fade between different layers. Autopilot uses properties of this component. More...
|
|
virtual void | StopAutopilot () |
| Stop automatically cross-fade layers. More...
|
|
virtual void | FadeOutAll (float duration=1f, bool ignoreTimeScale=true) |
| Gradually decrease volume of all currently playing layers. More...
|
|
virtual void | FadeInLayer (AudioSource layer, float duration=1f, bool ignoreTimeScale=true) |
| Linearly fade in a specific layer. More...
|
|
virtual void | FadeOutLayer (AudioSource layer, float duration=1f, bool ignoreTimeScale=true) |
| Linearly fade out a specific layer. More...
|
|
virtual void | RandomizeLocations (bool includePlaying=false) |
| Put the play time into a random location of each layer. This is useful to randomize layers before starting playback. More...
|
|
virtual void | PlayRandom (int numTracks, float fadeInDuration, bool ignoreTimeScale=true) |
| Play a number of random layers. More...
|
|
|
bool | fadeInOnStart = false |
|
float | masterFadeDuration = 1f |
|
bool | enableAutopilot = false |
|
int | numActiveTracks = 3 |
|
bool | changeTracksAutomatically = true |
|
float | trackFadeInDuration = 5f |
|
float | trackFadeOutDuration = 5f |
|
float | avgFadeTimeout = 15f |
|
float | fadeTimeoutVariance = 3f |
|
int | trackNumberVariance = 2 |
|
bool | verbose = false |
|
bool | showDetailedInfo |
|
|
float | volume [get, set] |
| Volume of all tracks in one setting. More...
|
|
List< AudioSource > | tracks [get] |
|
virtual void EverloopController.FadeInLayer |
( |
AudioSource |
layer, |
|
|
float |
duration = 1f , |
|
|
bool |
ignoreTimeScale = true |
|
) |
| |
|
virtual |
Linearly fade in a specific layer.
- Parameters
-
layer | AudioSource of the new layer. |
duration | Duration of fade in. |
ignoreTimeScale | Duration of fade in ignores Time.timeScale. |
virtual void EverloopController.FadeOutAll |
( |
float |
duration = 1f , |
|
|
bool |
ignoreTimeScale = true |
|
) |
| |
|
virtual |
Gradually decrease volume of all currently playing layers.
- Parameters
-
duration | Duration of fade out in seconds. |
ignoreTimeScale | Duration of fade out ignores Time.timeScale. |
virtual void EverloopController.FadeOutLayer |
( |
AudioSource |
layer, |
|
|
float |
duration = 1f , |
|
|
bool |
ignoreTimeScale = true |
|
) |
| |
|
virtual |
Linearly fade out a specific layer.
- Parameters
-
layer | AudioSource of the layer. |
duration | Duration of fade out. |
ignoreTimeScale | Duration of fade out ignores Time.timeScale. |
virtual void EverloopController.PlayAll |
( |
| ) |
|
|
virtual |
Play all layers that are on the same GameObject as this component.
virtual void EverloopController.PlayAll |
( |
float |
fadeInDuration, |
|
|
bool |
ignoreTimeScale = true |
|
) |
| |
|
virtual |
Play all layers that are on the same GameObject as this component.
- Parameters
-
fadeInDuration | Duration of volume increase in seconds. |
ignoreTimeScale | Duration of fade in ignores Time.timeScale. |
virtual void EverloopController.PlayRandom |
( |
int |
numTracks, |
|
|
float |
fadeInDuration, |
|
|
bool |
ignoreTimeScale = true |
|
) |
| |
|
virtual |
Play a number of random layers.
- Parameters
-
numTracks | Number of layers to play. |
fadeInDuration | Duration of linear fade in of the playback in seconds. |
ignoreTimeScale | Duration of fade in ignores Time.timeScale. |
virtual void EverloopController.PlayStopAll |
( |
bool |
fadeInOut = true | ) |
|
|
virtual |
Toggle between on and off of all layers.
- Parameters
-
fadeInOut | Gradually change volume when starting/stopping sounds. |
virtual void EverloopController.RandomizeLocations |
( |
bool |
includePlaying = false | ) |
|
|
virtual |
Put the play time into a random location of each layer. This is useful to randomize layers before starting playback.
- Parameters
-
virtual void EverloopController.StartAutopilot |
( |
| ) |
|
|
virtual |
Automatically cross-fade between different layers. Autopilot uses properties of this component.
virtual void EverloopController.StartAutopilot |
( |
int |
numInitTracks, |
|
|
float |
fadeInDuration = 3f , |
|
|
bool |
ignoreTimeScale = true |
|
) |
| |
|
virtual |
Automatically cross-fade between different layers. Autopilot uses properties of this component.
- Parameters
-
numInitTracks | Number of tracks to play initially. If numInitTracks is -1, activeTrackNumber will be used instead. |
fadeInDuration | Duration of volume increase in seconds. |
ignoreTimeScale | Duration of fade in ignores Time.timeScale. |
virtual void EverloopController.StopAll |
( |
| ) |
|
|
virtual |
Stop all currently playing layers.
virtual void EverloopController.StopAll |
( |
float |
fadeOutDuration, |
|
|
bool |
ignoreTimeScale = true |
|
) |
| |
|
virtual |
Stop all currently playing layers.
- Parameters
-
fadeOutDuration | Duration of volume decrease in seconds. |
ignoreTimeScale | Duration of fade out ignores Time.timeScale. |
virtual void EverloopController.StopAutopilot |
( |
| ) |
|
|
virtual |
Stop automatically cross-fade layers.
float EverloopController.volume |
|
getset |
Volume of all tracks in one setting.
- Returns
- Master volume of Everloop.
The documentation for this class was generated from the following file: