Skip to main content

HeatAreaModifier

An abstract class in Root.Township, Alta.Heat.

Base for components that give a HeatArea on the same object a shape, by setting how much of its temperature each heat point gets.

Constructors​

MemberWhat it is
protected HeatAreaModifier()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Methods​

MemberWhat it is
protected virtual void Awake()Sets the HeatArea's GetTemperatureMultiplier to this component's version.
protected abstract float GetTemperatureMultiplier(HeatPoint point)Returns 0 to 1 for how much of the area's temperature a heat point receives.