◆ AttemptConduitOneConnection()
| void PowerConduit.AttemptConduitOneConnection |
( |
GameObject |
obj | ) |
|
|
inlineprivate |
Attempts to connect to a another power conduit.
◆ AttemptConduitTwoConnection()
| void PowerConduit.AttemptConduitTwoConnection |
( |
GameObject |
obj | ) |
|
|
inlineprivate |
Attempts to connect to a another power conduit.
◆ AttemptMachineOneConnection()
| void PowerConduit.AttemptMachineOneConnection |
( |
GameObject |
obj | ) |
|
|
inlineprivate |
Attempts to connect to a machine.
◆ AttemptMachineTwoConnection()
| void PowerConduit.AttemptMachineTwoConnection |
( |
GameObject |
obj | ) |
|
|
inlineprivate |
Attempts to connect to a machine.
◆ ConnectOutputOneToConduit()
| void PowerConduit.ConnectOutputOneToConduit |
( |
GameObject |
obj | ) |
|
|
inlineprivate |
Connects to a another power conduit.
◆ ConnectOutputTwoToConduit()
| void PowerConduit.ConnectOutputTwoToConduit |
( |
GameObject |
obj | ) |
|
|
inlineprivate |
Connects to a another power conduit.
◆ CreateOutput2ConnectionLine()
| void PowerConduit.CreateOutput2ConnectionLine |
( |
| ) |
|
|
inlineprivate |
Creates a line renderer to the second output object.
◆ DistributePowerToConnectionOne()
| void PowerConduit.DistributePowerToConnectionOne |
( |
| ) |
|
|
inlineprivate |
Distributes power to output 1.
◆ DistributePowerToConnectionTwo()
| void PowerConduit.DistributePowerToConnectionTwo |
( |
| ) |
|
|
inlineprivate |
Distributes power to output 2.
◆ InitializeMachineOneConnection()
| void PowerConduit.InitializeMachineOneConnection |
( |
GameObject |
obj | ) |
|
|
inlineprivate |
Designates machine as an output with assigned ID.
◆ InitializeMachineTwoConnection()
| void PowerConduit.InitializeMachineTwoConnection |
( |
GameObject |
obj | ) |
|
|
inlineprivate |
Designates machine as an output with assigned ID.
◆ InitializeOutputConduitOne()
| void PowerConduit.InitializeOutputConduitOne |
( |
GameObject |
obj | ) |
|
|
inlineprivate |
Designates conduit as an output with assigned ID.
◆ InitializeOutputConduitTwo()
| void PowerConduit.InitializeOutputConduitTwo |
( |
GameObject |
obj | ) |
|
|
inlineprivate |
Designates conduit as an output with assigned ID.
◆ OnDestroy()
| void PowerConduit.OnDestroy |
( |
| ) |
|
|
inline |
Used to de-energize output objects when the power conduit is destroyed.
◆ Start()
| void PowerConduit.Start |
( |
| ) |
|
|
inline |
Called by unity engine on start up to initialize variables.
◆ UpdateMachine()
| override void PowerConduit.UpdateMachine |
( |
| ) |
|
|
inlinevirtual |
◆ UpdateOutputOne()
| void PowerConduit.UpdateOutputOne |
( |
| ) |
|
|
inlineprivate |
Makes connections from this conduit to another conduti or a machine.
◆ UpdateOutputTwo()
| void PowerConduit.UpdateOutputTwo |
( |
| ) |
|
|
inlineprivate |
Makes connections from this conduit to another conduit or a machine.
◆ UpdatePowerReceiver()
| void PowerConduit.UpdatePowerReceiver |
( |
| ) |
|
|
inlineprivate |
Gets power values from power receiver.
◆ address
◆ builtObjects
| GameObject PowerConduit.builtObjects |
|
private |
◆ connectionAttempts
| int PowerConduit.connectionAttempts |
◆ connectionFailed
| bool PowerConduit.connectionFailed |
◆ connectionLine
| LineRenderer PowerConduit.connectionLine |
|
private |
◆ connectionLine2
| GameObject PowerConduit.connectionLine2 |
|
private |
◆ connectionObject
| GameObject PowerConduit.connectionObject |
◆ creationMethod
| string PowerConduit.creationMethod = "built" |
◆ dualConnectionAttempts
| int PowerConduit.dualConnectionAttempts |
◆ dualOutput
| bool PowerConduit.dualOutput |
◆ ID
| string PowerConduit.ID = "unassigned" |
◆ inputID
| string PowerConduit.inputID |
◆ inputObject
| GameObject PowerConduit.inputObject |
◆ lineMat
| Material PowerConduit.lineMat |
◆ outputID1
| string PowerConduit.outputID1 = "unassigned" |
◆ outputID2
| string PowerConduit.outputID2 = "unassigned" |
◆ outputObject1
| GameObject PowerConduit.outputObject1 |
◆ outputObject2
| GameObject PowerConduit.outputObject2 |
◆ outputObjects
| GameObject [] PowerConduit.outputObjects |
|
private |
◆ powerAmount
| int PowerConduit.powerAmount |
◆ powerReceiver
◆ range
| int PowerConduit.range = 6 |
◆ stateManager
The documentation for this class was generated from the following file: