SpawnPoints
SpawnPoints(
props):null
Places spawn points as the scene mounts, and takes them away as it
unmounts: the scene’s spelling of placeSpawnPoints. Placed before any
<CharacterSpawn> spawns a character, wherever it stands in the scene.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
props |
SpawnPointsProps |
Returns
Section titled “Returns”null
Example
Section titled “Example”<SpawnPoints team={red} points={[[-20, 0, 0], [-20, 0, 4]]} />