Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PhysicsCallbacks.ITransformChangedCallback

An interface that when implemented, can be called when using PhysicsWorld.RegisterTransformChange.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Interface
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public interface PhysicsCallbacks.ITransformChangedCallback

Methods

Method

Description

OnTransformChangedCalled when a PhysicsEvents.TransformChangeEvent for the object occurs. This will always be called on the main-thread.