I am very new to unity and coding and I just saw a tutorial on how to make a quit button, and for some reason when I go to the functions of the button my script is not there.
This is the script:
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class quit : MonoBehaviour
{
public void Doquit()
{
Application.Quit();
}
}