Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 498 Bytes

File metadata and controls

8 lines (5 loc) · 498 Bytes

Unity3D_PropertyDrawer_AudioClip

Draws a play button and waveform preview for serialized AudioClip fields

AudioClip PropertyDrawer Inspector

If you label your Audio Asset "ScratchAudio" the property will draw with a red overlay and text indicating it's ⁻ˢᶜʳᵃᵗᶜʰ⁻ state.

Note: Make sure to place both scripts (AudioClipPropertyDrawer.cs and AudioUtilities.cs) in a folder named "Editor" in your project.