public void SetAlphaShadow(myCallback mycallback)
 {
     shadow.DOFade(1, 0.5f).OnComplete(() =>
     {
         mycallback();
         shadow.DOFade(0, 0.5f);
     });
 }
Exemple #2
0
 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;
     }
 }
Exemple #3
0
 public void setOnStopCallBack(int index, myCallback stopCall)
 {
     //  _songList[index].setOnStopCallBack(stopCall);
 }
Exemple #4
0
 public void setSyncpointCallBack(int index, uint ms, myCallback syncCall)
 {
     // _songList[index].setSyncpointCallBack(ms, syncCall);
 }
Exemple #5
0
 public void setOnStopCallBack(int index, myCallback stopCall)
 {
     //  _songList[index].setOnStopCallBack(stopCall);
 }
Exemple #6
0
 public void setOnEndCallBack(int index, myCallback endCall)
 {
     //_songList[index].setOnEndCallBack(endCall);
 }
Exemple #7
0
 public void setOnEndCallBack(myCallback endCall)
 {
     // _endCall = endCall;
 }
Exemple #8
0
 public void setOnEndCallBack(myCallback endCall)
 {
     // _endCall = endCall;
 }
Exemple #9
0
 public void setOnStartCallBack(myCallback startCall)
 {
     //  _startCall = startCall;
 }
Exemple #10
0
 public void setOnStopCallBack(myCallback stopCall)
 {
     // _stopCall = stopCall;
 }
Exemple #11
0
 public void setSyncpointCallBack(uint ms, myCallback syncCall)
 {
     //  _song.addSyncPoint(ms, TIMEUNIT.MS, "EndSong", ref _ptr);
       //  _syncCall = syncCall;
 }
Exemple #12
0
 public void setOnStopCallBack(myCallback stopCall)
 {
     // _stopCall = stopCall;
 }
Exemple #13
0
 public void setOnStartCallBack(myCallback startCall)
 {
     //  _startCall = startCall;
 }
Exemple #14
0
 public void setOnEndCallBack(int index, myCallback endCall)
 {
     //_songList[index].setOnEndCallBack(endCall);
 }
Exemple #15
0
 public void setSyncpointCallBack(uint ms, myCallback syncCall)
 {
     //  _song.addSyncPoint(ms, TIMEUNIT.MS, "EndSong", ref _ptr);
     //  _syncCall = syncCall;
 }
Exemple #16
0
 public void setSyncpointCallBack(int index, uint ms, myCallback syncCall)
 {
     // _songList[index].setSyncpointCallBack(ms, syncCall);
 }
Exemple #17
0
 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;
 }