Unity Engine documentationScript ReferenceUnity.U2D.PhysicsPhysicsComposerClearLayers()Remove all layers from the Physics Composer.Read time 1 minuteLast updated a month agoDefinition Type: Method Namespace: Unity.U2D.Physics Assembly: UnityEngine.PhysicsCore2DModule public void ClearLayers()