Beispiel #1
0
    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>();
    }
Beispiel #3
0
    void Awake()
    {
        micCM = MicrophoneCaptureManager.instance;

        currentSensitivity = PlayerPrefs.GetFloat("MicrophoneSensitivity", 20);
    }