// Start is called before the first frame update void Awake() { counterRecordTextObject = GameObject.FindGameObjectWithTag("Record Counter"); saveCounterBackgroundObject = GameObject.FindGameObjectWithTag("Recording Save Background"); saveCounterObject = GameObject.FindGameObjectWithTag("Recording Save Timer"); recordDisplay = GetComponent <audioRecordDisplay>(); counterRecordText = counterRecordTextObject.GetComponent <Text>(); }
void Awake() { audioRecording = GetComponent <audioSnippet>(); audioDisplay = GetComponent <audioRecordDisplay>(); audioCounter = GetComponent <recordCounter>(); }