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

スクリプト言語

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

Transform.right

Switch to Manual
public var right: Vector3;

Description

ワールド空間のTransformの赤軸

	// Set's the rigidbody velocity to be 
	// along the red axis of the transform
	rigidbody.velocity = transform.right * 10;