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 Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
Handle extends ResourceHandle |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
props |
ResourceProps<Handle> |
Returns
Section titled “Returns”null