API ReferenceScriptcomponentOnpauseScriptComponent.onPause() method Invoked when the game is paused by the user. Signature: onPause(): void; Returns: void