layerCount
Get the number of layers currently added to the Physics Composer.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Property
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public int layerCount { get; }
public int layerCount { get; }