callbackTarget
Get/Set the Object that callbacks for this shape will be sent to. Care should be taken with any Object assigned as a callback target that isn't a Object as this assignment will not in itself keep the object alive and can be garbage collected. To avoid this, you should have at least a single
Read time 1 minuteLast updated 7 hours ago
Definition
- Type: Property
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public object callbackTarget { get; set; }