useFullLayers
Controls if full 64-bit layers are used based upon PhysicsLowLevelSettings2D.physicsLayerNames or if not, the standard 32-bit layers based upon LayerMask. If a PhysicsLowLevelSettings2D asset is assigned then the full layers ( PhysicsLowLevelSettings2D.physicsLayerNames ) will be used if PhysicsLowLevelSettings2D.useFullLayers is also active. If no PhysicsLowLevelSettings2D asset is assigned then the global layers (See LayerMask ) will be used.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Property
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public bool useFullLayers { get; set; }