How do you edit the Normalize toggle field on Audio Clip by script?

I’ve been digging around for quite a bit but I’m not quite sure how this can be done. I am able to change the following toggle fields by script:

70378-untitled-2.png

  • Force To Mono
  • Load In Background
  • Preload Audio Data

But I can’t figure out how to get the “Normalize” toggle to change via script. Does anyone know how to do this or can anyone point me in the right direction?

Thanks in advance,
Tony ~

If I recall correctly, those options affect how the clip is imported into Unity. So, by the time you reference the clip in code, those options aren’t available because the clip is already fully imported.

Maybe if you explain a bit more about why you need to access those in code instead of the import inspector, we could offer better advice?