HeatPointToHeatAreaLink
A class in Root.Township, Alta.Heat.
Keeps a HeatArea's target temperature equal to a HeatPoint's temperature, so a hot object heats its surroundings.
- Listed in Stats, effects, heat and liquid
- Inherits or implements
MonoBehaviour
Constructors
| Member | What it is |
|---|---|
HeatPointToHeatAreaLink() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
2 private and internal fields
Methods
2 private and internal methods
| Member | What it is |
|---|---|
private void Awake() | Hooks the point's Changed event. |
private void UpdateTargetTemperatureOfHeatArea(HeatPoint heatPoint) | Sets the area's TargetTemperature to the point's current temperature. |