The Animation attached to this GameObject. (Null if there is none attached).
GetComponent.<Animation>().Play();
using UnityEngine; using System.Collections;
public class ExampleClass : MonoBehaviour { void Example() { GetComponent<Animation>().Play(); } }