Пример #1
0
    // 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>();
    }
Пример #2
0
 void Awake()
 {
     audioRecording = GetComponent <audioSnippet>();
     audioDisplay   = GetComponent <audioRecordDisplay>();
     audioCounter   = GetComponent <recordCounter>();
 }