Version: 2017.2
public bool isPlaying ;

설명

Are we playing any animations?

using UnityEngine;
using System.Collections;

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