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

スクリプト言語

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

InteractiveCloth.density

Switch to Manual
public var density: float;

Description

布の密度

This sets the mass of the cloth per area. Must be greater than zero. Changing this property causes the cloth simulation to reset.

	// This will simulate heavy cloth like "chain mail"

	transform.GetComponent(InteractiveCloth).density = 50;