• G#

AnimationState.normalizedTime

publik float Sitemap Sitemap;

Description

Waktu normal dari animasi.

Nilai 1 adalah akhir animasi. Nilai 0,5 adalah pertengahan animasi.

using UnityEngine;
using System.Collections;

public class ExampleScript : MonoBehaviour { public Animation anim;

void Start() { // Fast forward to the middle of the animation anim["Walk"].normalizedTime = 0.5f; } }