◆ FindOutputObject()
| void BasicMachine.FindOutputObject |
( |
| ) |
|
|
inlineprivate |
Finds and connects to a universal conduit for output.
◆ GetOutputType()
| string BasicMachine.GetOutputType |
( |
| ) |
|
|
inlineprivate |
Sets the appropriate output item according to the input.
◆ HandleOutput()
| void BasicMachine.HandleOutput |
( |
| ) |
|
|
inlineprivate |
If everything is working, items are moved to the output conduit; sounds and other effects are enabled.
◆ IsValidOutputObject()
| bool BasicMachine.IsValidOutputObject |
( |
GameObject |
obj | ) |
|
|
inlineprivate |
The object is a potential output connection.
◆ Start()
| void BasicMachine.Start |
( |
| ) |
|
|
inline |
Called by unity engine on start up to initialize variables.
◆ UpdateMachine()
| override void BasicMachine.UpdateMachine |
( |
| ) |
|
|
inlinevirtual |
◆ UpdatePowerReceiver()
| void BasicMachine.UpdatePowerReceiver |
( |
| ) |
|
|
inlineprivate |
Gets power values from power receiver.
◆ address
◆ amount
| float BasicMachine.amount |
◆ builtObjects
| GameObject BasicMachine.builtObjects |
|
private |
◆ conduitItem
◆ connectionAttempts
| int BasicMachine.connectionAttempts |
◆ connectionFailed
| bool BasicMachine.connectionFailed |
◆ connectionLine
| LineRenderer BasicMachine.connectionLine |
|
private |
◆ cooling
◆ creationMethod
| string BasicMachine.creationMethod = "built" |
◆ hasCustomSound
| bool BasicMachine.hasCustomSound |
◆ hasHeatExchanger
| bool BasicMachine.hasHeatExchanger |
◆ heat
◆ ID
| string BasicMachine.ID = "unassigned" |
◆ inputID
| string BasicMachine.inputID |
◆ inputObject
| GameObject BasicMachine.inputObject |
◆ inputType
| string BasicMachine.inputType |
◆ lineMat
| Material BasicMachine.lineMat |
◆ machineTimer
| int BasicMachine.machineTimer |
|
private |
◆ outputID
| string BasicMachine.outputID |
◆ outputObject
| GameObject BasicMachine.outputObject |
◆ outputType
| string BasicMachine.outputType |
◆ power
◆ powerObject
| GameObject BasicMachine.powerObject |
◆ powerON
| bool BasicMachine.powerON |
◆ powerReceiver
◆ recipes
◆ speed
| int BasicMachine.speed = 1 |
◆ stateManager
◆ warmup
The documentation for this class was generated from the following file: