言語: 日本語
  • C#
  • JS
  • Boo

スクリプト言語

お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。

Animation.this[string]

Switch to Manual
public var this[string]: AnimationState;

Description

アニメーションの名前を設定してステータスを返す。

	// Get the walk animation state  and set its speed
	animation["walk"].speed = 2.0;

	// Get the run animation state and set its weight
	animation["run"].weight = 0.5;