AudioSource.Stop 停止

function Stop () : void

Description描述

Stops playing the clip.

停止播放该剪辑。

using UnityEngine;
using System.Collections;

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

参见:Play, Pause, clip函数

Page last updated: 2011-4-6