This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
/// Creates a wave form based on an audiosource | |
/// Modified version of http://forum.unity3d.com/threads/making-sense-of-spectrum-data.90262 | |
/// Make sure to plug in the _topLine and _bottomLine line renderers | |
public class WaveGenerator : MonoBehaviour | |
{ |