ドキュメント

Unity Engine

Unity Engine

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