CreateProxy(PhysicsAABB, PhysicsMask, PhysicsHandle)
Create a space proxy.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public PhysicsSpace.ProxyHandle CreateProxy(PhysicsAABB aabb, PhysicsMask categories, PhysicsHandle userHandle)
Parameters
The AABB the proxy covers.
The categories as a physics mask associated with the proxy. This can be used when querying the space. If not used, it should be PhysicsMask.All.
The custom user handle associated with the proxy.
Returns
Type | Description |
|---|---|
| ProxyHandle | The created proxy handle used to refer to the proxy. |