HKI Core
|
This ScriptableObject contains the data of a playlist for the AudioPlayer. More...
Public Types | |
enum | PlaylistPlayTypes { PlaylistPlayTypes.RandomShuffelWithProtection, PlaylistPlayTypes.RandomShuffel, PlaylistPlayTypes.RandomTotal, PlaylistPlayTypes.Order } |
Public Member Functions | |
SoundClip | GetNextClip () |
SoundClip | GetClipByName (string name) |
SoundClip | GetClipByClipId (int clipId) |
void | ChangeMusicPlaylist (bool playPlaylist=true) |
void | ChangeAmbientPlaylist (bool playPlaylist=true) |
void | ChangeFxPlaylist (bool playPlaylist=false) |
void | ChangeUiFxPlaylist (bool playPlaylist=false) |
void | ChangeVoicesPlaylist (bool playPlaylist=false) |
Properties | |
int | GetNumberOfClips [get] |
PlaylistPlayTypes | GetPlaylistPlayType [get] |
Private Member Functions | |
void | OnEnable () |
void | Shuffle () |
void | CreateShuffleList () |
Private Attributes | |
PlaylistPlayTypes | PlaylistPlayType = PlaylistPlayTypes.RandomShuffelWithProtection |
List< SoundClip > | Clips = new List<SoundClip>() |
List< int > | shuffleList |
int | index = -1 |
This ScriptableObject contains the data of a playlist for the AudioPlayer.
The playorder can be shuffeled:
Create a GameEvent in Unity: HKI/Audio/Playlist
Definition at line 19 of file Playlist.cs.
|
strong |
Enumerator | |
---|---|
RandomShuffelWithProtection | |
RandomShuffel | |
RandomTotal | |
Order |
Definition at line 23 of file Playlist.cs.
|
inline |
Definition at line 115 of file Playlist.cs.
|
inline |
Definition at line 120 of file Playlist.cs.
|
inline |
Definition at line 110 of file Playlist.cs.
|
inline |
Definition at line 125 of file Playlist.cs.
|
inline |
Definition at line 130 of file Playlist.cs.
|
inlineprivate |
Definition at line 174 of file Playlist.cs.
|
inline |
Definition at line 96 of file Playlist.cs.
|
inline |
Definition at line 82 of file Playlist.cs.
|
inline |
Definition at line 56 of file Playlist.cs.
|
inlineprivate |
Definition at line 44 of file Playlist.cs.
|
inlineprivate |
Definition at line 136 of file Playlist.cs.
Definition at line 34 of file Playlist.cs.
|
private |
Definition at line 38 of file Playlist.cs.
|
private |
Definition at line 32 of file Playlist.cs.
|
private |
Definition at line 36 of file Playlist.cs.
|
get |
Definition at line 41 of file Playlist.cs.
|
get |
Definition at line 53 of file Playlist.cs.