Search Unity

Hookup assets to public fields in editor through script?

Discussion in 'Scripting' started by TheDogtoy, Apr 14, 2017.

  1. TheDogtoy

    TheDogtoy

    Joined:
    Jan 5, 2017
    Posts:
    11
    Hi,
    I have many vo assets whose file names are auto-generated by an excel exporter I built. The exporter builds a whole bunch of scriptable assets and my sound team creates sound files to match.

    What I'm not sure how to do is link sound assets to public fields in the editor through script. I'd like to automate the sound file hookup process. Any ideas?

    Thanks!
     
  2. TheDogtoy

    TheDogtoy

    Joined:
    Jan 5, 2017
    Posts:
    11
    P.s. No longer needed. Discovered that that audio toolkit lets you select lists of audio and add them all to a list. Problem solved. :)