• G#

AnimationState.length

publik float length;

Description

Panjang klip animasi dalam hitungan detik.

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