RESET SCENE

I make menü with start and exit button

if I click start button “applicatin load level 1” work nice and it take me to level 1 there no problem

the problem is if I return menü click again start button level 1 not reset completly

What should I do

You should post your code.

I got two code let me explain again when I start the game after 5 second my countdown is starting countdown have 10 second

first time when ı click the start button application load is work and take me to level 1 first time game is waiting 5 second after countdown is start but second time if I click start button again scene pass 5 second it start 10 second even if it start 9 second this bullshit I hope you help me

using UnityEngine;
using System.Collections;

public class denem2 : MonoBehaviour {
public int zaman3 = 5;
public float timeunder =10.0f;
// Use this for initialization
void Start () {

}

// Update is called once per frame
void Update () {

if (Time.time >zaman3) {

Debug.Log(“zaman başlasın:smile:”);
timeunder -= Time.deltaTime;

}
}

void OnGUI(){

if(timeunder >0){

GUI.Label(new Rect(500,150,200,100),"TIME REMAINING : "+(int)timeunder);

}

else {

GUI.Label(new Rect(500,150,200,100),“TiME’S UP”);
Application.LoadLevel (“gameovermenü”);

}

}
}

this is the first one

this is the second one

using UnityEngine;
using System.Collections;

public class Küp3 : MonoBehaviour {
public bool boolean ;
public Light settings;
public float countdown = 3.0f;

// Use this for initialization
void Start () {

}

// Update is called once per frame
void Update () {

}

//void isikKapat()
//{
//settings.enabled=false;
//}
void OnMouseDrag(){
boolean =true;
GameObject.Find (“Pointlight3”).GetComponent ().light.enabled = true;

if(GameObject.Find (“Cube2”).GetComponent<Küp2>().boolean == true){

Debug.Log(“3.çalıştı”);

}

if (GameObject.Find (“Cube2”).GetComponent<Küp2> ().boolean == false) {

Debug.Log(“çıkışçalışıyo3”);

}

if (GameObject.Find (“Camera”).GetComponent ().zaman3 > Time.time) {
Debug.Log(“süredenöncebasmagörürsün:smile:”);
Application.LoadLevel (“gameovermenü”);

}
}
}

You should not make the gameovermenu a seperate level, but rather place it over the current scene in a GUI. Also, You can’t have 2 Updates in one script. And using code tags help people understand it better.

I fixed the problem thank you