Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Method group is Obsolete

Application.CancelQuit

Obsolete public static void CancelQuit();

Description

Cancels quitting the application. This is useful for showing a splash screen at the end of a game.

This function only works in the player.

Note: CancelQuit has been deprecated. Please use Application.wantsToQuit instead.

Note: This function has no effect on iPhone. Application can not prevent termination under iPhone OS.

no example available in C#

Did you find this page useful? Please give it a rating: