Version: 2020.2
public float normalizedSpeed ;

描述

标准化播放速度。

这最常用于在两个动画之间进行混合时同步播放速度。 大多数情况下 Animation Layer syncing更易用且效果更好。

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { public Animation anim;

void Start() { anim = GetComponent<Animation>(); anim["Run"].normalizedSpeed = anim["Walk"].normalizedSpeed; } }