Unity 6.3
0 онлайн 67 гостей 3 в системе
Вход

AnimationState.length

Declaration

public float length;

Описание

Длина клипа анимации в секундах.

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); } }