Y
Y
Yura Berezovsky2018-08-22 13:56:40
Android
Yura Berezovsky, 2018-08-22 13:56:40

How to save data if the application is closed through the Android menu?

How to save data if when closing the game through the Android menu, OnApplicationQuit and OnDestroy do not work? Thus, the data serialization process does not go through and the file is not overwritten.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GavriKos, 2018-08-22
@Jurajkeee

Apparently the unit...
Save when focus is lost - OnApplicationFocus. You never know what happens later - the phone can simply sit down - then there will be no callbacks at all.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question