文档

Unity Engine

Unity Engine

PhysicsCallbacks.ITransformChangedCallback

An interface that when implemented, can be called when using PhysicsWorld.RegisterTransformChange.
阅读时间1 分钟最后更新于 1 个月前

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.