Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Prefab

Add this in your code:

#include <engine/game_elements/prefab.h>

Description

A prefab stores GameObjects and Components.

A prefab is created when dragging a GameObject from the Hierarchy to the File Explorer.
Then you can recreate the GameObject by dragging the prefab from the File Explorer to the Scene tab.