お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Close正規化されたアニメーションの再生速度。
これは一般的には2つのアニメーションをブレンドする時に再生速度を同期させる場合に使用します。 殆どの場合animation.SyncLayerを代わりに使用することをオススメします。
// Sync run and walk speed animation["Run"].normalizedSpeed = animation["Walk"].speed;
using UnityEngine; using System.Collections; public class ExampleClass : MonoBehaviour { void Example() { animation["Run"].normalizedSpeed = animation["Walk"].speed; } }
import UnityEngine import System.Collections public class ExampleClass(MonoBehaviour): def Example() as void: animation['Run'].normalizedSpeed = animation['Walk'].speed