Unity logo
取消
购物车
应用
Sell Assets

11000+款5星资源

8.5万+用户参与评分

10万+社区成员鼎力支持

每款资源都经过 Unity 审核

首页
模板
系统
此内容由第三方提供商托管,该第三方提供商在未接受Targeting Cookies的情况下不允许观看视频。如果您想观看来自这些提供商的视频,请将“Targeting Cookie”的Cookie偏好设置为“是”。
1/8
Factory Builder Template will help you to create your own 3D factory builder project fast and easy thanks to flexible scripts and ready-to-go prefabs and examples!
可编程渲染管线(SRP)兼容性
Unity可编程渲染管线(SRP)是让您能够通过C#脚本控制渲染的一个功能。SRP是支撑通用渲染管线(URP)和高清渲染管线(HDRP)的底层技术。
Unity版本内置渲染管线通用渲染管线(URP)高清渲染管线(HDRP)
2020.1.11f1
兼容
兼容
兼容
描述

The template that will help you to quickly create your own factory builder/simulation game! You can easily add new items, crafting recipes, put your own models and create custom machines!


Please note included models are basic and are meant to be placeholders to showcase how the template works


Features:

-Abstract framework - every machine type inherits from the same base class Machine.cs making code cleaner and easier to work with

-Inventory system with items as scriptable objects - you can easily create new items in Unity inspector and add inventory to any game object by attaching just one script

-7 machine types ready to be used - smelter, crafting machine, storage container, miner, conveyor belt, conveyor belt splitter, conveyor belt connector

-Save/Load system - all machines can be serialized/deserialized into/from JSON file

-Machines use Unity Events to communicate their state allowing easy integration with models, particles, and custom scripts f.e. turn on smoke particles when smelter is working, play crafting animation during the crafting process (see included examples) without any coding!

-UI integration - every machine has its own corresponding UI panel, f.e. crafting machine has a custom UI panel where you can change selected crafting recipe, see required ingredients and recipe products

-Building system - a simple player tools system allowing players to place machine's prefabs freely or in grid mode to then connect them with conveyor belts

-Custom loop for machines updates - a loop that ticks at a lower frequency than the game update to save on performance

-First-person player controller

-Compatible with all Render Pipelines - this template is all about code and all materials use standard Unity shaders which are upgradable (instruction included in the documentation)

-Compatible with all platforms*

-Full source code included


Included Machines:

-Conveyor belt - made using line renderer, renders items using instancing when possible

-Splitter and connector - connect or split conveyor belts to create advanced transportation systems

-Miners and ores - base products like coal, iron ore can be mined using miners from ores

-Smelter - transport mined ore to the smelter and turn it into a bar

-Crafting machine - configurable to have as many inputs and outputs as you need, turn the smelted bar into the next product on the assembly line

-Storage container - store crafted items in containers


Included Models, Items, and Prefabs:

-Package includes model and prefab for every machine type and item (all visible on the last screenshot), please note these models are basic and are meant to be placeholders to showcase how my template works

Included scriptable objects:

-Items: coal ore, iron ore, iron bar, iron rods, iron plate, iron frame (+UI icons)

-Crafting recipes: iron bar recipe, iron rod recipe, iron plate recipe, iron frame recipe


Included Demo:

-Demo consists of an assembly line example that starts from mining ore and ends on crafting iron frames (coal + iron ore -> iron bar -> iron rods and iron plates -> iron frame)


Experimental features:

-Running machines logic on a separate thread to save performance


Documentation and downloadable windows demo


*On some platforms saving to text file may need modification if System.IO.File.WriteAllText method or Application.persistentDataPath is not supported (the biggest platforms support these)





技术细节
  • Asset works with any render pipeline because materials for models use standard unity shaders which can be upgraded to URP or HDRP
  • If you want to create your own scripts based on my framework you have to have knowledge of how to program in C#
  • However, some machines use unity events to communicate their state so if you f.e. want to turn on smoke particles when smelter is smelting you don't have to write any code


Factory Builder Template

(7)
289 users have favourite this asset
(289)
$45
增值税将在结算时计算
许可证类型:Single Entity
一个实体
适用于个人或小型企业。
多个实体
适用于大型企业或多用户。
退款政策
该资源受Unity资源商店退款政策约束。有关详细信息,请参见《最终用户许可协议》(EULA)中的第2.9.3节。
安全结账方式:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
许可证类型
文件大小
6.7 MB
最新版本
1.0
最新发布日期
2021年8月4日
原始 Unity 版本
2020.1.11
高品质资源
11000+款5星资源
深受用户信赖
8.5万+用户参与评分
强大的社区支持
10万+社区成员鼎力支持
Unity logo
语言
反馈
合作伙伴计划
合作伙伴
USD
EUR
Copyright © 2025 Unity Technologies
所有价格不包含税
USD
EUR