ドキュメント

Unity Engine

Unity Engine

UnregisterTransformChange(Transform, ITransformChangedCallback)

Unregister a transform watched to stop calling the specified callback when a transform changes. See PhysicsEvents.TransformChangeEvent for the types of transform changes that are watched for.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public static void UnregisterTransformChange(Transform transform, PhysicsCallbacks.ITransformChangedCallback callback)

Parameters

transform

The transform to stop watching changes on.

The callback to stop being called when a transform change is detected.