Skip to content

ECS Framework API v2.2.13


ECS Framework API / Uint8

Function: Uint8()

Uint8(target, propertyKey): void

Defined in: packages/core/src/ECS/Core/SoAStorage.ts:115

8位无符号整数装饰器 标记字段使用Uint8Array存储(适用于字节值、布尔标志等)

Parameters

target

any

propertyKey

string | symbol

Returns

void

Released under the MIT License.