Versions with this page:
Versions without this page:
正在通过该动画状态播放的剪辑。
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); } }