public class TemperatureTargetRectangleBehaviour

Inherits MonoBehaviour

This behaviour only does stuff when the preference "AmbientTemperatureTransfer" is enabled.It changes the temperature of cells in the ambient temperature grid, that overlap a given rectangle, to a target value at a given rate.

Fields

public float TargetAmbientTemperature

Target temperature in Celsius


public Vector3Int Size

Global size of the effector rectangle


public Vector3Int Offset

Global offset of the effector rectangle. Its final position will be transform.position + Offset


public float TransferRateMultiplier

[Min(0)]

How fast the temperature of the grid moves towards the TargetAmbientTemperature. 1 by default.


Attention!

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

bi bij bibi