void Start() { micCapture = MicrophoneCaptureManager.instance; CreateLines(); //micCapture.SetActiveMicrophone(0); //micCapture.BeginCapture(); }
private void Awake() { if (instance == null) { instance = this; } else if (instance != this) { Destroy(gameObject); } DontDestroyOnLoad(gameObject); aSource = GetComponent <AudioSource>(); }
void Awake() { micCM = MicrophoneCaptureManager.instance; currentSensitivity = PlayerPrefs.GetFloat("MicrophoneSensitivity", 20); }