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