C# Class Submarine_Resources, TWI_Repo

Inheritance: MonoBehaviour
Afficher le fichier Open project: justcollins/TWI_Repo Class Usage Examples

Méthodes publiques

Свойство Type Description
maxEnergy float
maxOxygen float
maxPressure float
monitor EngineMonitor,
subCon SubControl,

Méthodes publiques

Méthode Description
Start ( ) : void
Update ( ) : void
getCabinPressure ( ) : float
getOxygenLevel ( ) : float
getShipEnergy ( ) : float
setCabinPressure ( float newPressure ) : void
setEnergyLevel ( float newEnergy ) : void
setOxygenAdd ( float newOxy ) : void
setOxygenLevel ( float newOxy ) : void
setPressureAdd ( float newPressure ) : void

Method Details

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

getCabinPressure() public méthode

public getCabinPressure ( ) : float
Résultat float

getOxygenLevel() public méthode

public getOxygenLevel ( ) : float
Résultat float

getShipEnergy() public méthode

public getShipEnergy ( ) : float
Résultat float

setCabinPressure() public méthode

public setCabinPressure ( float newPressure ) : void
newPressure float
Résultat void

setEnergyLevel() public méthode

public setEnergyLevel ( float newEnergy ) : void
newEnergy float
Résultat void

setOxygenAdd() public méthode

public setOxygenAdd ( float newOxy ) : void
newOxy float
Résultat void

setOxygenLevel() public méthode

public setOxygenLevel ( float newOxy ) : void
newOxy float
Résultat void

setPressureAdd() public méthode

public setPressureAdd ( float newPressure ) : void
newPressure float
Résultat void

Property Details

maxEnergy public_oe property

public float maxEnergy
Résultat float

maxOxygen public_oe property

public float maxOxygen
Résultat float

maxPressure public_oe property

public float maxPressure
Résultat float

monitor public_oe property

public EngineMonitor, monitor
Résultat EngineMonitor,

subCon public_oe property

public SubControl, subCon
Résultat SubControl,