Getting Started¶
Requirements¶
This package is intended for Unity 6 style projects using the built-in Unity UI and TextMesh Pro workflow. The demo project also uses URP settings.
Before testing, make sure TextMesh Pro essentials are imported if Unity prompts for them.
Open the Demo¶
- Open
Assets/PixitGames/BlockWorld/DemoGameScene.unity. - Enter Play Mode.
- Use the save menu to start a new game or load an existing save.
- Use the hotbar and inventory to select tools, blocks, and items.
Default Controls¶
| Input | Action |
|---|---|
WASD |
Move |
| Mouse | Look around |
| Left Mouse | Attack or break blocks |
| Right Mouse | Place blocks or open crafting stations |
| Number keys | Select hotbar slots |
I |
Toggle inventory |
M |
Toggle demo save menu |
Minimal Scene Setup¶
For a custom scene, add or configure these objects:
| Component | Required Role |
|---|---|
WorldGenerator |
Generates chunks, terrain, trees, ores, and entities |
WorldSettings |
Provides world, biome, and block registry data |
FirstPersonController |
Player movement and camera look |
BlockInteractor |
Breaking, placing, attacking, crafting station interaction |
Inventory |
Stores hotbar and inventory slots |
InventoryUI |
Displays inventory and handles UI slot interactions |
CraftingSystem |
Handles recipe matching and crafting station state |
SaveManager |
Saves world changes, inventory, seed, and player transform |
DemoSaveMenu |
Demo UI for new/load/save/delete |
Recommended First Test¶
After setup:
- Press New Game.
- Break a block.
- Pick up the drop.
- Place a block next to another block.
- Open inventory.
- Save, reload, and confirm changed blocks and inventory persist.