Finishing the game: Various Resources

How to build a project, quit, change and restart a scene.

Code example, quit and restart:

using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;

// Quits the player when the user hits escape

public class RestartQuit : MonoBehaviour
    public KeyCode quitKey = KeyCode.Escape;
    public KeyCode restartKey = KeyCode.R;

    void Update()
        if (Input.GetKeyDown(quitKey))

        //you must add using UnityEngine.SceneManagement; at the top
        //restart the current scene whatever scene is, you can also specify the name
        if (Input.GetKeyDown(restartKey))



Crucial project settings, icon, name, graphics quality, resolution and aspect ratio

Post processing effects for build in pipeline: make your game not look like s*it


GUI: how to not have a messed up interface