PluginSetup
PluginSetup = (
world,writer) =>Disposer|void
What a plugin registers on one world, on the room and on every page,
before the first step and again after a reset: it reads world and
writes with writer, which closes when it returns. The function it
returns forgets what it registered, as the world resets or goes, with
writer open again while it runs.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
writer |
SetupWriter |
Returns
Section titled “Returns”Disposer | void