function Start() {
Debug.Log(audio.clip.samples);
}
using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
void Start() {
Debug.Log(audio.clip.samples);
}
}
import UnityEngine
import System.Collections
class example(MonoBehaviour):
def Start():
Debug.Log(audio.clip.samples)