Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


useAttachedTriggers

Can be used to select whether any Collider2D attached to this Rigidbody2D (that are configured as a trigger) are used to detect contacts.
Read time 1 minuteLast updated 14 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public bool useAttachedTriggers { readonly get; set; }

Remarks

This is ignored if _selectedCollider is selected.