用户工具

站点工具


侧边栏



Unity3D中文文档

script:unityengine:classes:boxcollider2d:boxcollider2d

BoxCollider2D 盒碰撞器2D

class in UnityEngine / Inherits from: Collider2D

Description 描述

Collider for 2D physics representing an axis-aligned rectangle. 二维物理碰撞器,基于矩形轴对齐。

See Also: CircleCollider2D, PolygonCollider2D, EdgeCollider2D. 参见: CircleCollider2D, PolygonCollider2D, EdgeCollider2D。

Variables 变量

sizeThe width and height of the rectangle.
矩形的宽度和高度。
script/unityengine/classes/boxcollider2d/boxcollider2d.txt · 最后更改: 2016/08/02 05:36 (外部编辑)