Version: 5.3
public bool IsPlaying (string name);

설명

Is the animation named name playing?

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { public Animation anim; void Start() { anim = GetComponent<Animation>(); } void OnMouseEnter() { if (!anim.IsPlaying("mouseOverEffect")) anim.Play("mouseOverEffect"); } }