transformWriteCallbackTarget
Get/Set the custom Object that implements the PhysicsCallbacks.ITransformWriteCallback to which PhysicsEvents.TransformWriteEvent and PhysicsEvents.TransformTweenWriteEvent will be sent. The callback will only occur if PhysicsWorld.transformWriteMode is set to PhysicsWorld.TransformWriteMode.Custom
Read time 1 minuteLast updated 7 hours ago
Definition
- Type: Property
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public object transformWriteCallbackTarget { get; set; }