AudioClip.samples 采样

var samples : int

Description描述

The length of the audio clip in samples (Read Only)

返回采样中,音频剪辑的长度。(只读)

using UnityEngine;

using System.Collections;



public class example : MonoBehaviour {

	void Start() {

		Debug.Log(audio.clip.samples);

	}

}
function Start() {

	Debug.Log(audio.clip.samples);

}
Page last updated: 2011-1-13