MicrophoneInput.Update C# (CSharp) Метод

Update() публичный Метод

public Update ( ) : void
Результат void
    void Update()
    {
        loudness = GetAveragedVolume() * sensitivity;
        Debug.Log(loudness);
        if (loudness > 1)
        {
            frequency = GetFundamentalFrequency();
        }
        else
        {
            frequency = 0;
        }
        //Debug.Log(frequency);
    }