Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

addResources

addResources(writer, entity, handles): void

Gives entity each resource of handles, as addResource gives one: a resource it has starts over, and one it has that handles leaves out stays.

Parameter Type
writer EntityAuthority
entity Entity
handles readonly ResourceHandle[]

void