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

スクリプト言語

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

OcclusionArea.center

Switch to Manual
public var center: Vector3;

Description

中心を設定する

	// Sets the center of the occlusion area to the center of the transform

	@script RequireComponent(OcclusionArea)

	transform.GetComponent(OcclusionArea).center = Vector3.zero;