normalizedSpeed
The normalized playback speed.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.AnimationModule
public float normalizedSpeed { get; set; }
Remarks
This is most commonly used to synchronize playback speed when blending between two animations. In most cases it is easier and better to use Animation Layer syncing instead.
Examples
using UnityEngine;using System.Collections;public class ExampleClass : MonoBehaviour{ public Animation anim; void Start() { anim = GetComponent<Animation>(); anim["Run"].normalizedSpeed = anim["Walk"].normalizedSpeed; }}