Removed
Property audio has been deprecated. Use GetComponent<AudioSource>() instead. (UnityUpgradable)

GameObject.audio

Cambiar al Manual
public Component audio ;

Descripción

El AudioSource adjunto a este GameObject (Lectura solamente). (Null si no hay uno adjunto).

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { public GameObject other; void Example() { other.GetComponent<AudioSource>().Play(); } }