SetProxyCategories(ProxyHandle, PhysicsMask)
Set the proxy categories. This can be an expensive operation as all ancestors need to be recalculated.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public void SetProxyCategories(PhysicsSpace.ProxyHandle proxyHandle, PhysicsMask categories)
Parameters
The proxy to set.
The categories as a physics mask to set.