BArtisan.Thrusters.Helpers.Faults.BThrusterHelperFault Class Reference
+ Inheritance diagram for BArtisan.Thrusters.Helpers.Faults.BThrusterHelperFault:

Detailed Description

Base class to add a fault to a series of thrusters. Extend it or copy to add your own logic and functionalities. A thruster with a fault will stop working.

Member Data Documentation

◆ uniqueProblemID

string BArtisan.Thrusters.Helpers.Faults.BThrusterHelperFault.uniqueProblemID = "replace-here-unique-text"

Each fault in your game must have an unique ID, so it can easily be identified.

◆ autoremoveAfterSeconds

float BArtisan.Thrusters.Helpers.Faults.BThrusterHelperFault.autoremoveAfterSeconds = 0f

Automatically remove the fault after it was added. Ex: 3 for 3 seconds.

◆ debugLog

bool BArtisan.Thrusters.BBaseMonobehaviour.debugLog = false

Enable to debug this component. Warning: it may result in CPU intensive debug messages (each frame).

Member Function Documentation

◆ AddFault()

void BArtisan.Thrusters.Helpers.Faults.BThrusterHelperFault.AddFault ( BThrusterBase []  thrusters)

◆ RemoveFault()

void BArtisan.Thrusters.Helpers.Faults.BThrusterHelperFault.RemoveFault ( BThrusterBase []  thrusters)