Пример #1
0
 private void ClearExtensionProperties()
 {
     for (int i = 0; i < base.targets.Length; i++)
     {
         AudioListener audioListener = base.targets[i] as AudioListener;
         if (audioListener != null)
         {
             Undo.RecordObject(audioListener, "Remove AudioListener extension properties");
             audioListener.ClearExtensionProperties(AudioExtensionManager.GetListenerSpatializerExtensionName());
         }
     }
     this.m_AddSpatializerExtensionMixedValues = false;
 }