기술 자료

Unity Engine

Unity Engine

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.
읽는 시간 1분최근 업데이트: 25일 전

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public bool firstGroup { get; }

Remarks