Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Game Freezing Upon Reload

$
0
0
Hello, as apart of my game I have a death menu which appears when the player dies. The death menu presents itself with both a "Restart" and "Exit" button. However, upon clicking the Restart button the game freezes. This is urgent so fast replies would be much appreciated
Code (CSharp):
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using UnityEngine.SceneManagement;
  5.  
  6. public class DeathMenu : MonoBehaviour
  7. {
  8.  
  9.     public GameObject deathMenuUI;
  10.  
  11.     public void...
Game Freezing Upon Reload

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>