Unity onapplicationpause. The official documentation is ambiguous at best.