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

スクリプト言語

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

CharacterController.slopeLimit

Switch to Manual
public var slopeLimit: float;

Description

キャラクターコントローラーの度単位での勾配制限

	// Set the controller slope limit to 45.0 degrees
	var controller : CharacterController;
	controller = GetComponent(CharacterController);
	controller.slopeLimit = 45.0;