private void SendNotifyWin() { _notyfy.Send(_enemyHandler, _animatorWinNotyfy); _liders = _netWorking.GetJsonObject(URL); _drawUI.DrawLiders(_liders); TimeHandle.Pause(); CurrentRec = (int)TimeHandle.AllSeconds; if (Best > (int)TimeHandle.AllSeconds) { Best = (int)TimeHandle.AllSeconds; PlayerPrefs.SetInt("Record", (int)TimeHandle.AllSeconds); } BestRecordText.text = $"Best Time:{Best}"; CurrentRecordText.text = $"Current Time:{CurrentRec}"; }