Example #1
0
    /// <summary>
    /// Draws graphs representing the data.
    /// </summary>
    public void DrawDebugLines()
    {
        if (!Application.isEditor)
        {
            return;
        }

        if (!songLoaded)
        {
            return;
        }

        for (int i = 0; i < analyses.Count; i++)
        {
            analyses[i].DrawDebugLines(currentFrame, i);
        }

        if (_calculateTempo)
        {
            beatTracker.DrawDebugLines(currentFrame);
        }
    }