기술 자료

Unity Engine

Unity Engine

Set

Sets the bit at an index to 0 or 1.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

Set(ulong*, int, bool)

Sets the bit at an index to 0 or 1.
public static void Set(ulong* ptr, int pos, bool value)

Parameters

pointer to the bit buffer

pos

Index of the bit to set.

value

True for 1, false for 0.

Set(int, bool)

Sets the bit at an index to 0 or 1.
public void Set(int pos, bool value)

Parameters

pos

Index of the bit to set.

value

True for 1, false for 0.