MiningSettings
A class in Root.Township, Alta.Impact.
Global settings for mining rocks and ore. In this build only the haptics, strike sound RTPC and drop speed are read.
- Listed in Items, inventory and logic
- Inherits or implements
GlobalSettings<MiningSettings> - Derived types
MiningSettings,MiningSettings.Create - Nested types
Create - Attributes
GlobalSettings - Documented in Impacts and hit detection
Constructors
| Member | What it is |
|---|---|
MiningSettings() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
14 private and internal fields
| Member | What it is |
|---|---|
private bool isOneHitDestroy | Backing field for IsOneHitDestroy. Not read anywhere else in this build. |
private float maxRespawnTime | Backing field for MaxRespawnTime. Not read anywhere else in this build. |
private float maxSwingDistance | Backing field for MaxSwingDistance. Not read anywhere else in this build. |
private float minImpactMultiplier | Backing field for MinImpactMultiplier, a 0 to 1 value. Not read anywhere else in this build. |
private float minRespawnTime | Backing field for MinRespawnTime. Not read anywhere else in this build. |
private int minStrikeDamage | Backing field for MinStrikeDamage. Not read anywhere else in this build. |
private float minSwingDistance | Backing field for MinSwingDistance. Not read anywhere else in this build. |
private AnimationCurve resourceDropHapticFeedback | Backing field for ResourceDropHapticFeedback, the haptic curve Rock plays when it drops a resource. |
private float resourceDropSpeedMultiplier | Backing field for ResourceDropSpeedMultiplier, which Rock multiplies a dropped resource's launch direction by. |
private float strikeCoolDownTime | Backing field for StrikeCoolDownTime. Not read anywhere else in this build. |
private RTPC strikeStrengthRTPC | Backing field for StrikeStrengthRTPC, the audio parameter ImpactTool sets from strike strength on hit sounds. |
private AnimationCurve successfulHapticFeedback | Backing field for SuccessfulHapticFeedback, the haptic curve ImpactTool plays on a damaging hit. |
private float toolDamagePerStrike | Backing field for ToolDamagePerStrike. Not read anywhere else in this build. |
private AnimationCurve unsuccessfulHapticFeedback | Backing field for UnsuccessfulHapticFeedback, the haptic curve ImpactTool plays on a hit that does nothing. |