Documentation

Unity Engine

Download Unity

Unity Engine

usePhysicsLayers

Get if the option of PhysicsCoreSettings2D.usePhysicsLayers is active or not. If no PhysicsCoreSettings2D asset is assigned, this option will return false (inactive). When active, the physics 64-bit layers are used (see PhysicsCoreSettings2D.physicsLayerNames ) for property drawers and
Read time 1 minuteLast updated 10 hours ago

Definition

public static bool usePhysicsLayers { get; }