Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TestNone(int, int)

Returns true if none of the bits in a contiguous range are 1.
Read time 1 minuteLast updated 13 days ago

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public bool TestNone(int pos, int numBits = 1)

Parameters

pos

Position in the bit field (must be 0-31).

numBits

Number of bits to test (must be 1-32).

Returns

Type

Description

boolTrue if none of the bits in the contiguous range are 1.