protected void RegisterInstance(GameObject gameObject, ArdenAudioFilterInstance instance)
        {
            if (instances == null)
            {
                instances = new Dictionary <GameObject, List <ArdenAudioFilterInstance> >();
            }

            if (!instances.ContainsKey(gameObject))
            {
                instances.Add(gameObject, new List <ArdenAudioFilterInstance>());
            }

            instances[gameObject].Add(instance);
        }
 protected void UnregisterInstance(GameObject gameObject, ArdenAudioFilterInstance instance)
 {
     instance.Detach();
     instances[gameObject].Remove(instance);
 }
 //Usually this is the only function we really need to use
 //Just run "AddComponentToObject" for whatever components we add during this time
 public virtual bool AttachToObject(GameObject gameObject, ArdenAudioFilterInstance instance)
 {
     return(true);
 }