Electrical power/energy system
MrCryptographic
$0.0
(no ratings)
Date |
Price |
---|---|
日期和时间 |
价钱($) |
06/26(2023) |
0.0 |
11/08(2024) |
0.0 |
Jump AssetStore
A power system like in the game “Satisfactory”It works in every render pipline but when you don't use the universal render pipline you must update the materials to your render pipline, but this dosen't effect the logic.Its good for games that uses machines that need power and a system for the player to build a power system.Please let me know about bug you encounter so that i can fix them.Setup:-Have a "PowersystemNetworkController" in your scene, because its there to connect and disconnect systemsHow it works:-To connect two power system use the "PowersystemNetworkController", when 2 system objects are given it connects them -> always have a "PowersystemNetworkController" in your scene-When a generator, consumer, ... is created it creates a power system for it. Connect two system with the "PowersystemNetworkController" to make one bigger system-Set power input/output in the prefab of the generator/consumer-When power consumption > power generation the power system sets all mashines to have no power-To restart the system in the example scene there is a button to restart in other in other cases call the "RestartPowerSystem" function in the power system script -> returns a bool if the power system restart has succeeded or not(true/false)Look at the example scene to see in action how it works