void Start() { Visualizer = GetComponent <BaseVisualizer>(); Buffer = new Queue <MovementData>(); Buffer.Enqueue(GetData()); }
public void StartVisualization(BaseVisualizer visualizer) { EnsureSampleGrabber(_mediaPlayer); visualizer.SetAudioDataSource(_sampleGrabberProperties); }