Exemple #1
0
 private void ClearExtensionProperties()
 {
     for (int i = 0; i < base.targets.Length; i++)
     {
         AudioSource audioSource = base.targets[i] as AudioSource;
         if (audioSource != null)
         {
             Undo.RecordObject(audioSource, "Remove AudioSource extension properties");
             audioSource.ClearExtensionProperties(AudioExtensionManager.GetSourceSpatializerExtensionName());
         }
     }
     this.m_AddSpatializerExtensionMixedValues = false;
 }