public class PowerHammerBehaviour
Inherits MonoBehaviour
Controls the Power Hammer
Fields
public AudioClip[] ImpactClips
[SkipSerialisation]
Audio played on impact
public float ForceMultiplier
[SkipSerialisation]
Effect force multiplier
public float Range
[SkipSerialisation]
Range of the effect force in units
public float CameraShakeIntensity
[SkipSerialisation]
Intensity of the camera shake
public float RequiredImpactForce
[SkipSerialisation]
Amount of physical impact force required to initiate the force effect
public LayerMask LayersToConsider
[SkipSerialisation]
What layers to consider when affecting objects
public float ImpactCharge
[SkipSerialisation]
How electricity to add to affected objects
public GameObject HammerEffectPrefab
[SkipSerialisation]
Amount of physical impact force required to initiate the force effect
bi bij bibi