file: Prefabs.aus

class: Prefabs

[17:14] static extends: object

Wraps FXGL's Prefabs static helper. Prefabs exposes ready-made entity templates so users can drop common 3D scene objects into a game without rebuilding their components from scratch. The upstream Prefabs class is marked experimental in FXGL; the only stable factory at present is newDoor, which returns an Entity wired with an ActivatorComponent + DoorComponent.

Methods