hello everyone. i have this code
and i have Audio Source on the GameObject. any ideas why i get error?
Error:
Assets/Scripts/scriptBullet.js(31,46): BCE0023: No appropriate version of ‘UnityEngine.AudioSource.PlayClipAtPoint’ for the argument list '(UnityEngine.AudioClip,
I think i wrote it correctly. audio.PlayClipAtPoint(“Clip” , Vector()0.