Пример #1
0
    public void PlaySound()
    {
        float x = Random.Range(0, 10);
        float y = Random.Range(0, 10);

        AudioUtility.PlaySoundAtLocation("Intro", new Vector3(x, y, 0));
        //   AudioUtility.PlaySoundAtLocation("Intro",Camera.main.transform.position);
    }