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(); } }