TemperatureCheckInputStructure
A class in Root.Township, the global namespace.
Skill input settings that activate a skill when the held item (or its matching tool parts) is in a hot enough heat area for a set time.
- Listed in Global namespace: T to X
- Inherits or implements
SkillInputStructure - Derived types
TemperatureCheckInputStructure.Create - Nested types
Create
Constructors
| Member | What it is |
|---|---|
TemperatureCheckInputStructure() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
5 private and internal fields
| Member | What it is |
|---|---|
private float activeTime | Seconds the skill stays active once triggered (15 by default). |
private bool hasChannels | True when targetChannels has at least one entry. Without channels any pickup or impactor passes. |
private float minTemperatureToActivate | Temperature that has to be reached to start activating (200 by default). |
private ImpactChannel[] targetChannels | Impact channels the held tool or impactor must have for the input to count. |
private float timeToActivate | Seconds the temperature must hold before the skill activates (1 by default). |
Properties
Methods
| Member | What it is |
|---|---|
override ISkillInputMethod GetNewInput() | Creates a TemperatureCheckInput. |
bool ValidateColliderImpactors(IEnumerable<ImpactGenerator> impactors) | True if no channels are set, or any impactor on the collider has one of them. |
override bool ValidatePickup(HeldPickupHandler handler) | True if no channels are set, or the held tool has one of them. |
1 private and internal method
Used in
Members of other types that take, return or hold a TemperatureCheckInputStructure: