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.
- Listed in Stats, effects, heat and liquid
- Inherits or implements
MonoBehaviour - Derived types
CylinderHeatArea,LinearHeatArea,RadiusHeatArea - Attributes
DisallowMultipleComponent
Constructors
| Member | What it is |
|---|---|
protected HeatAreaModifier() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Methods
| Member | What 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. |