文档

Unity Engine

Unity Engine

IsBitSet(int)

Is the specified bit set.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public readonly bool IsBitSet(int bitIndex)

Parameters

bitIndex

The bit index in the range [0, 63].

Returns

Type

Description

boolWhether the specified bit is set or not.