public void RestartGame() { SaveSystem.SavePlayer(); email.SendEmail(); endMenuUI.SetActive(false); GameManager.gameIsPaused = false; GameManager.Restart(); }
public void QuitGame() { Debug.Log("Quitting game..."); SaveSystem.SavePlayer(); email.SendEmail(); Application.Quit(); }
public async Task Tele() { try { if (TradingPlatform.Messaging.Telegram.client.IsUserAuthorized()) { await TradingPlatform.Messaging.Telegram.Broadcast(new Broadcast() { Body = "Body", Subject = "Извинитье, надо потестиць" }, "ptpuatest"); } else { await TradingPlatform.Messaging.Telegram.AuthUser(); } } catch (Exception ex) { EmailFactory.SendEmail("*****@*****.**", "EXCEPTION", ex.Message); } }