Preview audio shortcut, Unity3D

Preview audio shortcut, Unity3D

Recently while doing a small game jam for myself I imported a shitload of audio files. Being a keyboard kind of guy I found the Unity editor to be lacking as I needed to select a clip and then with the mouse click the play button to preview the sound.

I created a small script allowing me to preview a audioclip with a keyboard shortcut that is also assignable via Unitys Shortcuts editor.

The script in this case doesn’t have to be placed in Editor folder but I tend to do it anyway because it uses editor scripts.

By default you preview the selected audio clip by pressing Alt+P. To really speed it it up it also helps if you have the Project window in One Column Layout.

How to set project window to one column.
Set project window to one column.
Tags: ,

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Top