void Start() { BUFFER_SIZE = multiplexer.GetBufferSize(); monodata = new float[BUFFER_SIZE]; //this has to be set from options // Check if multiplexer is there, and check if id is unique // if (multiplexer == null) { Debug.LogError("Cannot start without multiplexer, trying to find a multiplexer component in the scene"); multiplexer = FindObjectOfType <JackMultiplexer>(); } }