Version: 2022.2
언어: 한국어
public float length ;

설명

The length of the animation clip in seconds.

using UnityEngine;
using System.Collections;

public class ExampleScript : MonoBehaviour { public Animation anim;

void Start() { // Print the length of the walk animation in seconds print(anim["Walk"].length); } }