Exemplo n.º 1
0
 void Awake()
 {
     Instance                  = this;
     _beatTimer                = new BeatTimer(140);
     _beatController           = gameObject.AddComponent <BeatTimerController>();
     _beatController.BeatTimer = _beatTimer;
     _liveSplitSync            = new LiveSplitSync()
     {
         AlwaysPauseGameTime = true
     };
     _liveSplitSync.Connected += LiveSplitSync_OnConnected;
     _speedrunStopwatch        = new SpeedrunStopwatch();
     RunLog = new RunLog();
 }
 void Awake()
 {
     Instance   = this;
     _stopwatch = new SpeedrunStopwatch();
     RunLog     = new RunLog();
 }