GameObject.audio Manual     Reference     Scripting  
Scripting > Runtime Classes > GameObject
GameObject.audio

var audio : AudioSource

Description

The AudioSource attached to this GameObject (Read Only). (null if there is none attached)

var other : GameObject;
other.audio.Play();