Hi guys, I’m messing around with the record feature , and I was wondering I could save it for use in the game latter( not like save data, only in the same screen . )
If the anyway to assign the recorded clip to other game objects to be triggered latter.
var recordtime : float = 30;
var samplerate : float = 46100;
//var Micname : String ;
function OnMouseOver ()
{
if (Input.GetMouseButtonDown(0)) {
audio.clip = Microphone.Start("Microphone", false, recordtime, samplerate);
audio.Play();
}
}