// Use this for initialization void Start() { line = GetComponent <LineRenderer>(); line.enabled = false; if (null == AudioEvents) { AudioEvents = gameObject.GetComponent <AudioEventController>(); } }