Skip to content

ResMutInstance

Defined in: ecs/resource.ts:156

Write access to a resource, as ResMut asked for. get reads, set replaces, modify edits in place — and both writers store the value back and bump the change tick, which is the part Res cannot do.

T

get(): T

Defined in: ecs/resource.ts:165

T


modify(fn): void

Defined in: ecs/resource.ts:174

(value) => void

void


set(value): void

Defined in: ecs/resource.ts:169

T

void