기술 자료

Unity Engine

Unity Engine

isTrigger

Get/Set if the shape is a trigger. Changing the state here is relatively expensive and should be avoided. See PhysicsShapeDefinition.isTrigger.
읽는 시간 1분최근 업데이트: 22일 전

Definition

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