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

スクリプト言語

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

InteractiveCloth.isTeared

Switch to Manual
public var isTeared: bool;

Description

布が破れるかどうか (Read Only)

See Also: tearFactor 変数

	function Update() {
		if(transform.GetComponent(InteractiveCloth).isTeared)
			Debug.Log("Cloth teared!");
	}