You see, create a script in Unity to get out of the game, but, I had to add it to the OnClick event and when I looked for it I did not find it, does anyone know if something should be activated or add a script? Could you leave it here? I leave you an image just in case, I hope it was clear, thanks: /
PS: I'm using Unity 2018.2.13f1 in 2D mode