public class CardiopulmonaryBypassMachineBehaviour

Inherits MonoBehaviour, Messages.IUse

Behaviour that controls the life support machine

Fields

public bool Activated

Is the machine activated?


public float PressureIntensity

Pressure to set the heart to. Ranges from 0 to 1.


public int ValidConnectionCount

[SkipSerialisation]

Amount of valid connections. Don't set this value unless you actually know what you're doing


public PhysicalBehaviour PhysicalBehaviour

[SkipSerialisation]

Reference to the PhysicalBehaviour if it has one


public AudioSource LoopSource

[SkipSerialisation]

Reference to the audio source that plays the looping noise


public AudioClip ValidSound

[SkipSerialisation]

Sound played when a valid connection is made


public AudioClip InvalidSound

[SkipSerialisation]

Sound played when an invalid connection is made


public GameObject Cosmetics

[SkipSerialisation]

Container game object with all cosmetic objects


public TextMeshPro StatusText

[SkipSerialisation]

Reference to the little status text display


public float TargetHeartrate

[SkipSerialisation]

Has no real effect except giving the heart monitor some information


Properties

public bool IsConnected

[SkipSerialisation]

Returns true if ValidConnectionCount > 0


Methods

public float GetFinalIntensity()

No description provided


public void Use(ActivationPropagation activation)

No description provided


public void UpdateActivation()

No description provided


public void UpdateStatusText()

No description provided


public void PlayValidSound()

No description provided


public void PlayInvalidSound()

No description provided


Attention!

This member is obsolete and should not be used. It is a remnant from the past.

bi bij bibi