Hello, im fairly to unity and programming. I want it so when my character reaches a certain point on the map there will be a victory window that pops up to tell me if i would like to retry or go back to the main menu. Any help is appreciated and patience is also! Thank you much!
You can use GUI.Label and GUI.Button for such a thing.
Some useful stuff:
Unity GUI in general
GUI.Label
GUI.Button
Something like this:
function OnGUI(){
GUI.Label(Rect(Pos X, PosY, sizeX, sizeY),Text);
if(GUI.Button(Rect(Pos X, PosY, sizeX, sizeY),"Retry")){
Application.LoadLevel("Levelname");
}
if(GUI.Button(Rect(Pos X, PosY, sizeX, sizeY),"Main Menu")){
Application.LoadLevel("Menu");
}
}
That should work and is pretty simple to begin with.