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

Resource

Resource<Handle>(props): null

Gives the entity the resource resource, where its settings say it starts. Its maximum is the base of the entity’s max<Name> stat, which modifiers raise and lower. The player’s come from the CharacterSpawn’s resources, or a plugin’s. It mounts in a scene, as <Inventory> and <Match> do.

Type Parameter
Handle extends ResourceHandle
Parameter Type
props ResourceProps<Handle>

null