Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IsBitSet(int)

Is the specified bit set.
Read time 1 minuteLast updated 13 days ago

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.