ResMut
此内容尚不支持你的语言。
ResMut<
T>(resource):ResMutDescriptor<T>
Defined in: ecs/resource.ts:141
Ask a system for write access to a resource. The body receives a
ResMutInstance, not the value: set or modify is what stores it back
and stamps the change tick a Changed filter reads.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”resource
Section titled “resource”ResourceDef<T>