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

スクリプト言語

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

ContactPoint.thisCollider

public var thisCollider: Collider;

Description

最初に接触したコライダー情報

	// Prints the name of this collider
	function OnCollisionEnter(other : Collision) { 
	 	print("This collider is named: " + other.contacts[0].thisCollider.name);
	}