public class HeatingElementBehaviour

Inherits MonoBehaviour, Messages.IUse

Controls the heating and cooling element

Fields

public SpriteRenderer ActivationLight

[SkipSerialisation]

Reference to the little lamp on the element


public DamagableMachineryBehaviour DamagableMachineryBehaviour

[SkipSerialisation]

Reference to the thing that decides if this thing a broken thing


public PhysicalBehaviour PhysicalBehaviour

[SkipSerialisation]

Reference to the PhysicalBehaviour component on this object


public Color Color

[SkipSerialisation] [ColorUsage(true, true)]

The target colour of the glow


public SpriteRenderer Glow

[SkipSerialisation]

The SpriteRenderer that renders the glowing bit


public Vector2 AllowedTemperatureRange

[SkipSerialisation] [NaughtyAttributes.MinMaxSlider(-1000, 1000)]

The temperature range of the element in Celsius


public float HeatTargetSpeed

[SkipSerialisation]

The speed at which the element reaches the target temperature


public bool ActiveCooling

[SkipSerialisation]

Does this element do active cooling? If set to true, the element can subtract heat. False means it can only add heat.


public float TargetTemperature

The target temperature of the element. ActiveCooling needs to be set to true


public bool Activated

Is the element activated


Methods

public void Use(ActivationPropagation activation)

No description provided


Attention!

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

bi bij bibi