Inherits MonoBehaviour.
|
static void | Play (AudioSource _source, bool _destroyAfterPlaying=false, float _delay=0) |
| Play the source More...
|
|
static void | Pause (AudioSource _source, float _delay=0) |
| Pause the source More...
|
|
static void | UnPause (AudioSource _source, float _delay=0) |
| UnPause the source More...
|
|
static void | Stop (AudioSource _source, float _delay=0) |
| Stop playing the source More...
|
|
static void | StopAll (float _delay=0) |
| Stop all the clip which are playing from the source list More...
|
|
static void | StopAllBut (AudioSource _source, float _delay=0) |
| Stop all the clip which are playing, except the _source More...
|
|
static AudioSource | SetSource (string _clipName) |
| Set an AudioSource and return it More...
|
|
static void | DestroySource (AudioSource _source) |
| Destroy the Source More...
|
|
static void | AttachTo (AudioSource _source, Transform _transform) |
| Make _transform the parent of the gameobject of _source More...
|
|
static void | ReturnToHarmony (AudioSource _source) |
| Make Harmony the new parent of the _source More...
|
|
static void | EnabledPlayList (AudioSource _source, bool _enabled) |
| Enable or disable the PlayList mode of a _source More...
|
|
static void | EnabledPlaylistLoop (AudioSource _source, bool _enabled) |
| Enable or disable the loop PlayList mode of a _source More...
|
|
static void | EnabledPlaylistRandom (AudioSource _source, bool _enabled) |
| Enable of disable the random mode of the playlist of _source More...
|
|
static void | NextClip (AudioSource _source, float _delay=0) |
| Set the next clip in the playlist of _source More...
|
|
static void | PreviousClip (AudioSource _source, float _delay=0) |
| Set the previous clip in the playlist of _source More...
|
|
static void | SetClipInPlaylist (AudioSource _source, int _clipIndex, float _delay=0) |
| Set the _clipIndex clip in the playlist of _source More...
|
|
static List< AudioClip > | GetPlaylist (AudioSource _source) |
| Get the Playlist as a list of AudioClip More...
|
|
static void | AddClip (AudioSource _source, AudioClip _clip=null) |
| Add the _clip to the Playlist (at the end of) More...
|
|
static void | SubClip (AudioSource _source, AudioClip _clip=null) |
| Remove the _clip from the Playlist More...
|
|
static void | DeleteClip (AudioSource _source, AudioClip _clip) |
| Remove the _clip from the Playlist More...
|
|
static void | ResetPlaylist (AudioSource _source) |
| Clear all the Playlist, then add a null clip More...
|
|
static void | SwapClip (AudioSource _source, AudioClip _clip1, AudioClip _clip2) |
| Swap the two clip in the playlist list More...
|
|
static void | SwapUpClip (AudioSource _source, AudioClip _clip) |
| Swap the _clip with the clip above More...
|
|
static void | SwapDownClip (AudioSource _source, AudioClip _clip) |
| Swap the _clip with the clip below More...
|
|
static void | CleanPlaylist (AudioSource _source) |
| Remove all the clip which are null from the playlist More...
|
|
static void | ClearPlaylist (AudioSource _source) |
| Reset the playlist but keep the first clip from the playlist More...
|
|
The Harmony class hub of fonctionnalities.
This class is use in code by users to manipulate Harmony fonctions
- Author
- Baptiste Billet, proofreading by Clarisse Blondy
- Version
- 0.1
- Date
- 2016
- Precondition
- For the first use, you should use the actualize button of the Harmony window in Unity to setup
- Bug:
- Warning
- Beta content here, use carrefully
- Copyright
- Baptiste Billet - 2016