I'm using unity 5 and I tried to make a menu and it isn't working because I have button's in a panel and I cant associate them with methods. I have a script and I have the following code:
void Start () {
}
void Update () {
}
public void LoadScene(string name) {
Application.LoadLevel(name);
}
public void quit()
{
Application.Quit();
}
But when I try to associate one of my method's with a button they don't appear so I cant associate them and my methods are public.
Any suggestion as to how I can fix this?
update: