Battle Talent  V11
Classes | Public Member Functions | Public Attributes | Events | List of all members
CrossLink.MusicPlayer Class Reference

Inherits MonoBehaviour.

Public Member Functions

void Init ()
 
bool IsPlaying ()
 
void SetVolume (float v)
 
string GetCurSong ()
 
void OnPlaySong ()
 
void OnPauseSong ()
 
void OnPreviousSong ()
 
void OnNextSong ()
 
void ChangeCatalog ()
 

Public Attributes

Text catalogText
 
Text songText
 
RawImage songIcon
 
GameObject playSong
 
GameObject pauseSong
 
GameObject itemPrefab
 
Transform itemPoolTrans
 
RectTransform layoutTrans
 

Events

System.Action< string > OnMusicChanged