Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


RemoveLayer(LayerHandle)

Remove a layer from the Physics Composer.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public void RemoveLayer(PhysicsComposer.LayerHandle layerHandle)

Parameters

layerHandle

The layer to remove.