PlayClipAtPoint() doesn’t use a game object’s Audio Source component so you won’t be able to control the volume of your sfx from the object’s Audio Source IF you are using PlayClipAtPoint(). You can still control the volume from the inspector by serializing the volume argument of the PlayClipAtPoint() method like this.
public class CoinPickup : MonoBehaviour
{
[SerializeField] AudioClip coinPickupAudio;
[Range(0f,1f)] [SerializeField] float volume = 1f;
private void OnTriggerEnter2D(Collider2D collision)
{
if(collision.tag == "Player")
{
AudioSource.PlayClipAtPoint(coinPickupAudio, Camera.main.transform.position, volume);
Destroy(gameObject);
}
}
}
You can then adjust the volume from CoinPickup (Script) component in the inspector.