Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


clip

The clip that is being played by this animation state.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public AnimationClip clip { get; }

Examples

using UnityEngine;using System.Collections;public class ExampleScript : MonoBehaviour{ public Animation anim; void Update() { // Prints the frame rate of the animation clip to the console print(anim["walk"].clip.frameRate); }}