Application.CancelQuitstatic function CancelQuit () : voidDescriptionCancels quitting the application. This is useful for showing a splash screen at the end of a game. This function only works in the player and does nothing in the web player or editor. IMPORTANT: This function has no effect on iPhone. Application can not prevent termination under iPhone OS.
JavaScript
// Delays quitting for 2 seconds and using UnityEngine; import UnityEngine |
