Physics.GetIgnoreLayerCollision 获取忽略碰撞层

static function GetIgnoreLayerCollision (layer1 : int, layer2 : int) : bool

Description描述

Are collisions between layer1 and layer2 being ignored?

是否层1和层2之间的碰撞检测被忽略?

Returns the value set by Physics.IgnoreLayerCollision or in the Physics inspector.

返回是否在层1和层2之间忽略碰撞检测.

Page last updated: 2011-4-9