Missing Button.ExitGame error
Hello lovely people,
Trying to create a simple ExitGame button. The code I have is super simple and is attached to the relevant Quit button in the UI. However, when I drag said script and function onto the button, the tab where the function name normally appears, instead reads "".
This is my sciript -
public void ExitGame() { Application.Quit(); }
Any ideas why this is happening? And what could be done to resolve?
Cheers, Clare
Comment