firstGroup
Whether this is the first trigger event between the two groups the shapes belong to. Always true when either shape has no group or the world has event grouping disallowed. This is only reliable when each group's shapes all belong to one body.
Read time 1 minuteLast updated 2 days ago
Definition
- Type: Property
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public bool firstGroup { get; }