AudioSource.Pause Manual     Reference     Scripting  
Scripting > Runtime Classes > AudioSource
AudioSource.Pause

function Pause () : void

Description

Pauses playing the clip.

JavaScripts
audio.Pause();

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
void Awake() {
audio.Pause();
}
}

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Awake():
audio.Pause()

See Also: Play, Stop functions.