文档

Unity Engine

Unity Engine

SetProxyUserHandle(ProxyHandle, PhysicsHandle)

Set the proxy user handle. On a world-bound space the user handle must be a live shape in the bound world.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public void SetProxyUserHandle(PhysicsSpace.ProxyHandle proxyHandle, PhysicsHandle userHandle)

Parameters

proxyHandle

The proxy to set.

userHandle

The user handle to set. On a world-bound space this must be a live shape in the bound world.