Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


canEncroach

Allow cast shape to encroach when initially touching. This only works if the radius is greater than zero.
Read time 1 minuteLast updated 10 days ago

Definition

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