기술 자료

Unity Engine

Unity Engine

TestAny(int, int)

Returns true if any of the bits in a contiguous range are 1.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public bool TestAny(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 at least one bit in the contiguous range is 1.