I've created a gameobject and that gameobject has 3 child gameobject. All 3 child gameobject has one AudioSource attached with them I want to play all AudioClip simultaneously. Please help with the script!

I’ve created a gameobject and that gameobject has 3 child gameobject. All 3 child gameobject has one AudioSource attached with them I want to play all AudioClip simultaneously. Please help with the script!

What’s the problem? What did you try already?

Remember, we are not here to write your code for you, but to help with problems.

You can start your work with reading audio source documentation

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Audio_Play_Child : MonoBehaviour
{
public AudioSource A_source0;
public AudioSource A_source1;
public AudioSource A_source2;
// Start is called before the first frame update
void Start()
{

}

// Update is called once per frame
void Update()
{
	if(Input.GetKeyDown(KeyCode.P)){
		A_source0.Play();
		A_source1.Play();
		A_source2.Play();
	}
}

}

Here Is the code assign the script to the parent object and assign all 3 child to the script and HIt play button press P key and all 3 audio will play