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

findResourceTrait

findResourceTrait(key): ResourceTrait

The trait an entity holds the resource key in, which the dump and a room’s stream write under its name: for a system of a game’s own.

Parameter Type
key ResourceKey

ResourceTrait