I made a class like this
and on the Inspector, it appears like this
Here's the problem I want to drag and drop a audio file to the 'None' area. But I have no idea what I have to do. I want to look like this
And I want to look exactly like above.. because I wanna make a array for AudioClipPlayer like this
I want to make that Unity recognize AudioClipPlayer to AudioClip. Is that possible? Thx for reading.
Remove the : Object for a start, it'll be making your class inherit UnityEngine.Object which makes very little sense. After that, you'll want to either make the fields public, or add [SerializeField] above both of them