Electrical Circuit Controller
John Hnidec Software
$19.95
(no ratings)
Date |
Price |
---|---|
日期和时间 |
价钱($) |
02/11(2022) |
19.95 |
11/18(2024) |
19.95 |
Jump AssetStore
Add deeper levels of control and realism to anything electrical related in your project by using or creating ECC power supplies, circuits and device modules.Electrical Circuit Controller (ECC) is a set of simple yet extremely powerful classes, thoughtfully crafted to deliver some very deep capability with regard to creating, controlling and switching any kind of electrical network.Simply plug in any of the supplied Scriptable Objects and easily construct electrical networks complete with Power Supplies, Circuits and Power Consumers.By its very nature ECC is highly configurable, so swapping out a AAA battery Power Supply and replacing it with a car battery is literally a line of code (or a couple of clicks inside the custom editor).What is included with ECC?- A set of scripts containing the core logic and functionality that enables ECC to do its thing- A set of modules containing many pre-configured Scriptable Objects. These modules are what drives the logic and operation of ECC and include Networks, Power Supplies, Circuits and Power Consumer modules. Super easy to create your own modules too!- A custom editor for configuring your network inside the Unity editor- A simple demo project showcasing some of the ECC fundamentals- Full source code is included, use to understand how it all works or to modify and enhance to suit your own requirements- A comprehensive Reference Guide, lovingly written and hand-crafted :)What are modules?ECC is hierarchical in nature, and each level of the hierarchy is a module. The top level of this structure is one or more Networks. A Network has one or more Power Sources. A Power Source has one or more Circuits. A Circuit has one or more Power Consumers.When all modules are logically joined together a fully operational electrical network is created.- Network ModuleThis is the overarching container for everything else. In and of itself it doesn’t do too much but it does end up holding all of the other functionality. Examples of a Network would include a flashlight, a house, a digital watch, a small village, a factory, a computer and so on.- Power Source ModuleThis is the thing that supplies power to your network. Each Power Source can be configured with Volts and Amps (among other things). Examples of a Power Source would include AA battery, AAA battery, 2 x D Cell batteries in Series, 120 Volt AC, solar panel and so on.- Circuit ModuleA circuit is what distributes the power (the Power Source) to all of the devices on the circuit. A circuit has Loss and an Amperage Rating (how much load the circuit can tolerate). If the load on the Circuit is exceeded it will switch itself off, a bit like a circuit breaker in a house does. Examples of a Circuit would include a 20 Amp domestic circuit, 100 Amp industrial circuit, 500 milliamp usb charger circuit and so on.- Power Consumer ModuleThe end of the road is the device on the circuit, the Power Consumer. It is the entity that consumes the power and generally is the object of interest in your game. A Power Consumer has Watts and Parasitic Drain (how much power is consumed even when the device is off). Examples of a Power Consumer would include a lamp, a kettle, a microprocessor, an LED bulb, a huge factory machine, or anything that consumes power really.What modules are included?Well, it's trivially simple to create a new module (Scriptable Object), so having a long list of included modules here is really just marketing blurb. For example, you could duplicate the AA Battery below, change the milliamps (mAh) value in the Scriptable Object and call it a D Cell Battery. But, to help you better understand what modules are all about, some examples include:AA BatteryAA Battery x 2 SeriesAA Battery x 2 ParallelAAA BatteryAC 120 VoltsCar BatterySolar PanelMicroprocessorLEDKettleTelevisionRemember, the above things are not graphical assets or prefabs, they are Scriptable Objects that drive whatever behaviour it is you need to apply to your own assets.What ECC is Not?It is important to be clear about what ECC is not. It is not a simulator of electronics and it does not contain any graphical assets. Some extremely complicated electrical concepts are simplified here, for example the Loss property of a circuit is expressed as a simple percentage but in the real world that value would depend on an enormous number of factors and conditions. This package doesn't contain flashlights or toaster overs, or transistors or resistors or appliances or batteries. Rather, it contains the means and functionality needed to easily create the electrical logic that drives those kinds of things.Reference GuideTake a look to see what's whatECC Reference Guide