public void SetAlphaShadow(myCallback mycallback) { shadow.DOFade(1, 0.5f).OnComplete(() => { mycallback(); shadow.DOFade(0, 0.5f); }); }
public void init(String path) { _startCall = null; _stopCall = null; _endCall = null; _syncCall = null; _path = path; _isPlaying = false; _isPaused = false; _volume = 0.2f; if (path != null) { _channel = Bass.BASS_StreamCreateFile(path, 0, 0, BASSFlag.BASS_DEFAULT); } else { _channel = 0; } }
public void setOnStopCallBack(int index, myCallback stopCall) { // _songList[index].setOnStopCallBack(stopCall); }
public void setSyncpointCallBack(int index, uint ms, myCallback syncCall) { // _songList[index].setSyncpointCallBack(ms, syncCall); }
public void setOnEndCallBack(int index, myCallback endCall) { //_songList[index].setOnEndCallBack(endCall); }
public void setOnEndCallBack(myCallback endCall) { // _endCall = endCall; }
public void setOnStartCallBack(myCallback startCall) { // _startCall = startCall; }
public void setOnStopCallBack(myCallback stopCall) { // _stopCall = stopCall; }
public void setSyncpointCallBack(uint ms, myCallback syncCall) { // _song.addSyncPoint(ms, TIMEUNIT.MS, "EndSong", ref _ptr); // _syncCall = syncCall; }
public void init(String path) { _startCall = null; _stopCall = null; _endCall = null; _syncCall = null; _path = path; _isPlaying = false; _isPaused = false; _volume = 0.2f; if (path != null) _channel = Bass.BASS_StreamCreateFile(path, 0, 0, BASSFlag.BASS_DEFAULT); else _channel = 0; }