Beispiel #1
0
 void Awake()
 {
     singleton = this;
     SetGlobalBpm();
     Reset();
     Native.Pause(globalPause);
 }
Beispiel #2
0
 void SetGlobalPause()
 {
     Native.SetBeatTime(globalBeatTime);
     Native.Pause(pause_);
     lastSampledTime = AudioSettings.dspTime;
     globalPause     = pause_;
 }
Beispiel #3
0
 void OnDestroy()
 {
     Native.Pause(false);
 }