operator &(PhysicsMask, PhysicsMask)
Bitwise AND operator for PhysicsMask.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Operator
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public static PhysicsMask operator &(PhysicsMask bitMaskA, PhysicsMask bitMaskB)
Parameters
The first PhysicsMask to perform the operation with.
The second PhysicsMask to perform the operation with.
Returns
Type | Description |
|---|---|
| PhysicsMask | The bit-wise operation using both BitMasks. |