AudioSource.Pause 暂停

function Pause () : void

Description描述

Pauses playing the clip.

暂停播放该剪辑。

using UnityEngine;
using System.Collections;

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

参见:Play, Stop 函数。

Page last updated: 2011-4-6