// Token: 0x060004F5 RID: 1269 RVA: 0x00018A20 File Offset: 0x00016C20
 private void OnDestroy()
 {
     if (this.instance != null)
     {
         global::EngineSoundLoop.Instance instance = this.instance;
         this.instance = null;
         instance.Dispose(true);
     }
 }
 // Token: 0x060004C9 RID: 1225 RVA: 0x00017448 File Offset: 0x00015648
 public global::EngineSoundLoop.Instance Create(Transform attachTo, Vector3 localPosition)
 {
     if (!attachTo)
     {
         throw new MissingReferenceException("attachTo must not be null or destroyed");
     }
     global::EngineSoundLoop.Instance instance;
     if (this.instances == null)
     {
         this.instances = new Dictionary <Transform, global::EngineSoundLoop.Instance>();
     }
     else if (this.instances.TryGetValue(attachTo, out instance))
     {
         instance.localPosition = localPosition;
         return(instance);
     }
     instance = new global::EngineSoundLoop.Instance(attachTo, localPosition, this);
     this.instances[attachTo] = instance;
     return(instance);
 }