Z
Z
Zimaell2021-03-19 22:06:35
Unity
Zimaell, 2021-03-19 22:06:35

How to close the application?

put the method on the exit button

public void ExitGame(){
        Application.Quit();
        }

when you press it, it seems to close, but when you scroll through all the windows, I see that it hangs, if you select it, the game will start reloading again ....
How can I completely exit it?

Ps - Although in few places I notice the exit button ....

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Karbivnichy, 2021-03-19
@Zimaell

but when flipping through all the windows, I see that it hangs,
What is it like? And where is this?
Although I rarely notice the exit button anywhere ....
In case of low memory, Android itself will unload such applications from memory.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question