SetProxyAABB(ProxyHandle, PhysicsAABB, bool)
Set the proxy AABB.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public void SetProxyAABB(PhysicsSpace.ProxyHandle proxyHandle, PhysicsAABB aabb, bool updateAncestors)
Parameters
The proxy to set.
The AABB to set the proxy to.
If the AABB has simply moved then this should be false however if you have changed its size then you should update the space ancestors which takes more time.