mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-04-18 21:37:55 -04:00
- Added `PrefabBuilder` which can be used in a ResourceLoader to include custom prefabs along with a mount - Changed StartupLoadProject so that it will register custom asset types BEFORE mounting, so that any assets within mounts (like .prefab files) can be resolved by the asset system - Added `PrefabFile.Load` which lazy-loads PrefabFiles (just like `Model.Load` or `Texture.Load`) - ResourceLibrary.Load<>() has been updated to call PrefabFile.Load when handling a PrefabFile (just like Models, Textures, ect) - Added some basic tests for the PrefabBuilder