Using the Context Menu in a script to populate array slots in the Unity3d inspector in Edit mode.
I do this in the Unity Inspector, instead of inside Awake or Start so the AudioSources and Transforms are cached and ready to go right away.









Using the Context Menu in a script to populate array slots in the Unity3d inspector in Edit mode.
I do this in the Unity Inspector, instead of inside Awake or Start so the AudioSources and Transforms are cached and ready to go right away.