This version of Unity is unsupported.
Removed in version 2018.4.36

Component.audio

Obsolete Property audio has been deprecated. Use GetComponent<AudioSource>() instead. (UnityUpgradable). public Component audio;

Description

The AudioSource attached to this GameObject. (Null if there is none attached).

using UnityEngine;

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