public void _TurnTabOff() { Time.timeScale = 1; Cursor.visible = false; isOn = false; TDSTouchInput.Show(); GameControl.GetPlayer().EnableFire(); tabObject.SetActive(false); }
IEnumerator _ResumeGame() { CameraControl.FadeBlur(uiBlurEffect, 2, 0); CameraControl.TurnBlurOff(); GameControl.ResumeGame(); //Telling GameControl to resume the game UIPauseMenu.Hide(); TDSTouchInput.Show(); yield return(StartCoroutine(WaitForRealSeconds(0.25f))); Time.timeScale = 1; }