Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


useFullLayers

Indicates if the option of PhysicsLowLevelSettings2D.useFullLayers is active or not. If no PhysicsLowLevelSettings2D asset is assigned, this option will return false (inactive). When active, the 64-bit layers are used (see PhysicsLowLevelSettings2D.physicsLayerNames ) for property drawers and PhysicsLayers.GetLayerMask. When inactive, the 32-bit layers are used (see LayerMask ) for property drawers and PhysicsLayers.GetLayerMask. In all cases, the physics system itself will always use the full 64-bit layers assigned, however when using 32-bit layers, the top 32-bits will be set to zero.
Read time 1 minuteLast updated 8 days ago

Definition

public static bool useFullLayers { get; }