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

スクリプト言語

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

Transform.up

Switch to Manual
public var up: Vector3;

Description

ワールド空間のTransformの緑軸

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