HoleIsland
Builds one hole's island on this machine. It sits on each `Hole<i>` entity that `pocketPutt.course.build` places in the main scene; field `hole` (1..6) picks the hole from `pocketPutt.holes`. On awake (edit and play, every peer) it calls `pocketPutt.course.islands.build`, which s…
HoleIsland
Builds one hole's island on this machine. It sits on each Hole<i> entity that pocketPutt.course.build places in the main scene; field hole (1..6) picks the hole from pocketPutt.holes. On awake (edit and play, every peer) it calls pocketPutt.course.islands.build, which spawns the puttCourse pieces (tee, rails, obstacles, cup + flag) and the island body as local temporary children, and rebuilds when the field or a module it uses changes. Needs no sibling components; the Cup<i> and water triggers are separate baked children.
Interface
What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.
conforms to
zero/source-extract/v2pocketPutt.HoleIsland: builds one hole's island on this machine. Sits on each Hole<i> entity the scene build places (pocketPutt.course.build). On every machine, in edit and in play, it builds the hole's puttCourse pieces (theme tropicalIsland: tee, lane, rails, windmill, blockers, bumpers, ramp, sand, water, cup + flag) and the island under them (sand top, rock cliffs, grass patches, foam) as local temporary children, so every peer holds the same course and a reload rebuilds it. Palms, flowers and rocks are baked entities (tropicalProps) placed by the scene build.
Islands( ) → any return require
required at each use so a hot-reloaded islands module (palette, rocks) rebuilds with its new code
teardown( ) → void
build( ) → void
heal(dt: number) → void
| arg | type | description |
|---|---|---|
| dt | number |
update(dt: number) → void
| arg | type | description |
|---|---|---|
| dt | number |
editorUpdate(dt: number) → void
| arg | type | description |
|---|---|---|
| dt | number |
awake( ) → void
onPropertyChanged(key: string, value: any, oldValue: any) → void
| arg | type | description |
|---|---|---|
| key | string | |
| value | any | |
| oldValue | any |
onModuleReload(path: string) → void
| arg | type | description |
|---|---|---|
| path | string |
onDestroy( ) → void
Component on each Hole<i> entity that builds that hole island and its puttCourse pieces on every machine.Sub-parts
Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.
Showing up to 3 levels deep. Open a part to see what it holds further down.
Problems
Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.
agent_score is exposed.+ quality × 0.35
+ performance × 0.25
± compat factor
Usability ratings
Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".
Scoped to this part · feeds back into the world's score.