normalizedSpeed
The normalized playback speed.
Read time 1 minuteLast updated 4 days ago
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; }}